Code: Select all
<p:graphicImage url="#{image}" style="position: relative; object-fit: cover; overflow: hidden; height=100%; width=100%;border-radius: 1px"
oncontextmenu="javascript:return false;" />
Code: Select all
<p:imageSwitch effect="zoom" >
<p:repeat value="#{photoView.images}" var="image">
<p:graphicImage url="#{image}" style="position: relative; object-fit: cover; overflow: hidden; height=100%; width=100%;border-radius: 1px"
oncontextmenu="javascript:return false;" />
</p:repeat>
</p:imageSwitch>
https://ooftish.com/photos/fX4TD2w2/index.xhtml
Your help in this regard greatly appreciated.
Thanks
Ravi