Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display images in Crystal Report

Status
Not open for further replies.

shobia

Programmer
Jun 20, 2005
10
US
Hi,
I need help in loading images in Crystal Report.
I would like to display images(.jpg) during run time.
I want to display the person details and display the person's image on the right.
My images will be stored in a temporary directory.
I would pass the path to crystal report like (C:\PrsnImgs\PersonA.jpg).

My query output would be something like

Name Address Path Descrptn
Jake West Blvd C:\PrsnImgs\Jake.jpg Tall&Strong

For example my report would be displayed like below.
Jake West Blvd Actual Picture(Jake.jpg)
Tall & Strong
Person B Street Address PersonB.jpg(Picture)
Description of the Person

Person C Street Address PersonC.jpg(Picture)
Description of the Person

How do i accomplish this?. Any help is greatly appreciated.

Thanks,
Shobia





 
It is CR 8.5. I am Sorry for not mentioning it.
Thanks
Shobia
 
You cannot do this in crystal 8.5 unless the image itself is stored in the datbase, unless you use the RDC - Report Designer Component - in Visual Basic.

To get the image from a path, you will need to upgrade to Crystal XI.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
 
I think that you can sort of handle this by right clicking the field in Crystal and selecting Format Field->Hyperlink->A File.

It won't show the graphic, but they shouldbe able to click it and open the grphic file.

Unless CR 8.5 didn't support hyperlinks.

-k
 
dgillz- How do i do it if the image is stored in the database?.To start with the images are stored in the database. But before i run a report i get all those images and store them in a temp directory which is done thru ColdFusion.(Kind of Preparing the report) Could you please explain the process, if i am planning to get it directly from the database thru CR.
Thanks

synapsevampire - This solution won't help , since we print the reports out and discuss in a meeting later on.
And there could be 100s of rows to view each image.
Thanks.
 
I guess i would not be able to do this. Thanks.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top