Skip to main content
Solved

Image in Report

  • March 9, 2021
  • 1 reply
  • 78 views

Forum|alt.badge.img+5

Within Thinkwise images are stored in the database. We want to include an image that is stored in a table in the database into a report.

How do you do this?

PS We're making reports with the recommended DevExpress.

Best answer by Mark Jongeling

Hi Roy,

We recommend the method told here:

The method that is commonly used is converting a varbinary string to a base64 string and then using <img src=data:image/png;base64, ...> inside a HTML field in DevExpress. This way you can save png files in the database as varbinary strings and use them inside DexExpress reports as pictures.

 

View original
This topic has been closed for replies.

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3945 replies
  • Answer
  • March 9, 2021

Hi Roy,

We recommend the method told here:

The method that is commonly used is converting a varbinary string to a base64 string and then using <img src=data:image/png;base64, ...> inside a HTML field in DevExpress. This way you can save png files in the database as varbinary strings and use them inside DexExpress reports as pictures.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings