On my main page, when I use
<p:graphicImage value="/resources/Images/CCIDimage.jpg" />
The image displays properly - the size is correct.
However, when I include that same line inside a <p:tooltip> component to display the image as a tool tip, only part of the image is displayed.
The code:
Code: Select all
<h:outputLink id="olink" style="position: absolute; top: 825px; left: 275px;" value="#" >
<h:outputText value="what's this" />
</h:outputLink>
<p:tooltip for="olink" targetPosition="topRight" position="bottomLeft" >
<p:graphicImage value="/resources/Images/CCIDimage.jpg" />
</p:tooltip>
I tried setting the height and width parameters, but that does not work for the width either.
The height appears to work, but not the width.
Any suggestions?
Thanks.