cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Images in Crystal 8.5

Former Member
0 Kudos

I'm trying to get images displayed dynamically in a Crystal 8.5 report. I have the image data loaded into a recordset and am passing it into the report via a blob field. It is working correctly for a .bmp image file, but when I try to use a .jpg or .png file, the image doesn't show in the report. Is .bmp the only file type supported for Crystal 8.5 or is there something else I need to do to specify to the report what type of image it is?

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Try creating a new report and see if that works, if not then BMP is the only type it supported at the time

Former Member
0 Kudos

Hello Jennie,

Iam not remembering about 8.5. I But, Iam sure that itis possible to display image in 8.5 I have done itm, once.

Keep all the image in one folder with unique names which should be the key in database field.

eg:

employee id

I wanto to show the employee image in crystal report.

I will create a formula which will hold the image name.

d:\images\RAB0001.jpg

will be

d:\images\"tempid".jpg

Go to Insert->OLE Object

or

use BLOB object itself

Is this answers your question?

REgards

Usama MOhammad

Former Member
0 Kudos

Thanks for the response, although it didn't quite answer my question. I have the image loading correctly in the report but only if the image is a .bmp file. I'd like to be able to use either .jpg or .png files because of the compression they offer, but when I try to use either a .jpg or .png the image doesn't load in the report.

Former Member
0 Kudos

Ok. I understand. I remember jennie, i have loaded JPG file to Crystal Reprots. It should work!!

Former Member
0 Kudos

Do you remember if you had to do anything to tell Crystal what type of image file it was? I checked in the format graphic section and didn't find anything about type of file or anything like that.