How to zoom image on mouseover at some XY coordinate in JSF?
- by Paul
This is the code I use to display images.
<t:dataList var="item" value="#{occasionBean.messageInfo}" layout="simple">
<h:commandLink action="#{occasionBean.selectedImage}" >
<h:graphicImage styleClass="thumbnail" width="100" height="100"
url="#{item.imageSnapUrl}"
onclick="return setMsgId(this.id,#{item.img_id},'#{item.imageUrl}');"
id="test" onmouseover="" onmouseout="">
</h:graphicImage>
</h:commandLink>
</t:dataList>
Please give some solution.