-
1. Re: Displaying Images in ftl files
tsurdilovic Feb 3, 2012 10:12 PM (in response to murthy516)I would upload images to Guvnor and then access them via its REST API urls, for example if you had an image myImage.png in Guvnor's package myPackage in your ftl you could place afaik:
<img src="localhost:8080/drools-gunvor/rest/packages/myPackage/assets/myImage/binary" .... />
Hope this helps.
-
2. Re: Displaying Images in ftl files
murthy516 Feb 4, 2012 12:40 AM (in response to tsurdilovic)Hi Tihomir,
Thank you so much for your reply and quick response.I accessed from guvnor as per your suggestions.Can I access the image from local file system?It means if I have image in local disk D:\ MyImages folder.When I specify the image src as D:\MyImages\myimage..Its not working.How to specify the image located in a folder of localdisk drive.
Thanks
Murthy
-
3. Re: Displaying Images in ftl files
tsurdilovic Feb 4, 2012 12:42 AM (in response to murthy516)Don't think you can.
-
4. Re: Displaying Images in ftl files
murthy516 Feb 4, 2012 12:50 AM (in response to tsurdilovic)Sorry Tihomir,I didnt get you.Sorry.Could you suggest me.
Regards
Murthy
-
5. Re: Displaying Images in ftl files
swiderski.maciej Feb 4, 2012 1:24 PM (in response to murthy516)I believe img src attribute expects to have a valid url so you could give a try with file:///d:/MyImages/myimage
HTH