Answer:In my database, instead of saving the image, I saved the image path.
How can I make Report Workshop display the image for the path?
This is not a standard functionality, but it can be implemented with a very simple add-on.
Report Workshop implements standard field types, such as 'int', 'image', 'time', etc.
The attached unit implements 'imagefromfile' field type: Include it in your project.
Let you have a field named FIELDNAME containing file names of images.
Use this syntax to insert these images in your report:
Code: Select all
{FIELDNAME imagefromfile}
Code: Select all
{FIELDNAME imagefromfile "width=100"}