Grails: displaying created image in gsp

前端 未结 8 2035
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 10:07

I\'m very new to Grails so there\'s probably a very simple answer to this question. I\'m trying to display a dynamically created image in a gsp. The image is NOT stored in

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-29 10:47

    I believe it's not about Grails but about HTML. You could:

    1. Make the dedicated action that pipes image accept certain parameters, and generate the image in that action;
    2. Embed it base64-encoded into HTML, like here:

      wow

提交回复
热议问题