Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I have CR10 and i would like to insert an image via file path. I'm not using visual basic with this. I'm looking all over but can not find a solution. Any help is greatly apprecitated. thanks.
Posted

Use CR11, so that you can load dynamic images using parameters.
 
Share this answer
 
1) Right click anywhere on the report
2) Select Insert --> OLE Object
3) Create from File
4) Select your source
5) Click OK

That should do.
 
Share this answer
 
Comments
mohamed wasim 7-Sep-15 4:57am    
doesn't work for me ,it gives a broken image with url "CrystalImageHandler.aspx?dynamicimage=cr_tmp_image_f5127030-6302-426f-a29c-e52cefaeef16.png"
i don't have visual studio to do this and the image is not stored in a database it's located in a file system such as \\servername\images\id\imagename.jpg any other suggestions? thanks.
 
Share this answer
 
You need to convert the image into stream of bytes and then populate the datasource for your report.

Have a look at these:
How to dynamically load images in Crystal Reports using Visual Studio 2005[^]
Image in Crystal Reports[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900