Add image in Help message of a control

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Add image in Help message of a control

Bharamani
Add image in help message


Hi,

I need to show image in help message/tooltip of a control.  I am getting broken image. Even i tried to give path from orbeon folder but still same issue.

If you have any solution, Please provide.  
Thanks
Bharamani
Reply | Threaded
Open this post in threaded view
|

Re: Add image in Help message of a control

Alessandro  Vernet
Administrator
Hi Bharamani,

1. Put your image, say my-image.png, in Orbeon Forms' WEB-INF/resources/forms/assets/my-image.png.
2. In Form Builder, in Control Settings, put . Then click the "Use HTML" checkbox.

Note that the image shows broken in the HTML editor, but will show fine everywhere else, including in Form Builder if you click on the help icon. I've created an issue this this last glitch:
https://github.com/orbeon/orbeon-forms/issues/2727

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Add image in Help message of a control

Bharamani
Thanks Alex

              Its works fine.
Thanks
Bharamani
Reply | Threaded
Open this post in threaded view
|

Re: Add image in Help message of a control

Alessandro  Vernet
Administrator
Hi Bharamani, excellent, and thanks for confirming.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet