Image from blob field

Image from blob field

Postby devid13 » Sat Mar 04, 2017 9:43 pm

I have a mysql table with a blob field where i stored JPG images.
How can i insert the image in a report?
My test:
- In the report select query I have inserted the blob field (select * from...)
- Then in report builder I have inserted an image object.
- In the field properties value of image object I have inserted the blob filed name
But when I try to view the report the message is: "FPDF error: Image file has no extension and no type was specified: ..."
What's wrong?
devid13
 
Posts: 3
Joined: Fri Jan 29, 2016 12:05 am

Re: Image from blob field

Postby Henk_2a » Sat Apr 29, 2017 5:32 am

devid13 wrote:I have a mysql table with a blob field where i stored JPG images.
How can i insert the image in a report?
My test:
- In the report select query I have inserted the blob field (select * from...)
- Then in report builder I have inserted an image object.
- In the field properties value of image object I have inserted the blob filed name
But when I try to view the report the message is: "FPDF error: Image file has no extension and no type was specified: ..."
What's wrong?


I have exactly the same problem, no idea what to do
Henk_2a
 
Posts: 25
Joined: Mon Feb 15, 2016 5:12 am
Location: Nederland


Return to Report Writer