It works for me:
<img class="info" th:attr=" src=@ {${image}}" />
where 'image' is a base64 image: image = "data: image / png; base64, R0lGODlhlgCWAMQAAPz .........
in Spring Java controller:
@RequestMapping(value = "/get_goods_detail", method = RequestMethod.GET) public String getGoodsDetail( @RequestParam(value = "itemid") final int itemid, ModelMap model){
source share