I use a copy of /libs/foundation/components/image (xtype html5smartimage).
In "./image.jsp" the statement "image.draw(out)" (magically?) interprets the property "./linkURL" as href around the img-Tag.
I need this anchor (href) to use the attribute: target="_blank", how is this possible?
Workaround with com.day.cq.commons.DownloadResource.getString() (BTW: The Javadoc seems to be quite enlarged here.)
<%= image.getString().replace("<a ", "<a target=\"_blank\"") %>
<% image.draw(out); %>