1 Reply Latest reply on Apr 29, 2010 12:47 PM by ilya_shaikovsky

    Add text note to image

    zjda

      Hi,

       

      I want to use <rich:paint2d> to display an image (e.g jpg, bmp or gif).  When a use click on the image, I want to display a text box at the mouse point.  The user can type a short note in the box as a overlay and save the new image.

       

      Before I dig into the detail, could someone tell me if it is possible or not?

       

      Thanks,

      -ZJ

        • 1. Re: Add text note to image
          ilya_shaikovsky

          it should be possible by using tootip. this

           

          <a4j:mediaOutput element="img" cacheable="false" session="true" id="image"
          createContent="#{mediaBean.paint}" value="#{mediaData}" mimeType="image/jpeg" >
           
          </a4j:mediaOutput>
           
          <rich:toolTip value="123123" for="image"></rich:toolTip>
          

           

          works for me.