Thanks Wim. A folder under the working directory (let say /images) plus a reference to the folder and the specific file (ie. “/images/file.jpg”) at the “src” attribute level works fine.
Regards. ___________________ Mario Diethelm Guallar From: Wim Dumon [mailto:w...@emweb.be] Sent: jueves, 23 de octubre de 2014 04:59 To: witty-interest@lists.sourceforge.net Subject: Re: [Wt-interest] reporting using html and pdf rendering Hello Mario, Personally I prefer using data URLs in such a case to avoid using image files. If you use image files without path, I can only imagine that you should put them in the current working directory. Best regards, Wim. 2014-10-23 0:11 GMT+02:00 Mario Diethelm Guallar <mari...@terra.cl <mailto:mari...@terra.cl> >: Hi guys, I have built a couple of reports to complement my Web application generating html code in a stream that is pre visualized using a WText widget and then rendering the corresponding PDF file using a WPdfRenderer object (based on the widgetgallery examples). Everything works fine but when I try to add some images from files to my reports I just get the broken image logo when I load the WText widget with the corresponding html stream (I am using just the file name in the “src” property of the img tag without any directory, folder or drive specification). Where do I have to install the actual image files to get them loaded correctly? I am using the built-in httpd connector on a Windows environment. Thanks. ___________________ Mario Diethelm Guallar ------------------------------------------------------------------------------ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net <mailto:witty-interest@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
_______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest