Image not displayed in Velocity Report

Hi,

I have a simple script in my html file for velocity reporting. When I view the html file in a browser, it displays the image. However, when I use it for generating a report, it does not show.

Does Servoy support embedding image in velocity reports already?

Hi Erik,

you should really consider putting VelocityReport issue on ServoyForge, it’s there for this!
I do receive then directly, while I don’t monitor the forum all the time.

Now today, I have found (and fixed) an issue with the detection of png files from a byte array.
This will be part of next v1.3.4 release coming soon.

But maybe that’s not your issue? Maybe you are using a url that is not recognized or accessible by the plugin?
If you url is coming from a media:// URL, you should use a wrapper: var img = plugins.VelocityReport.getMedia(‘media:///yourImage.jpg’); then this img when inserted in your context will be correctly displayed in the report.

Hope this helps

thanks for tirelessly reminding me.