cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic picture insertion

Former Member
0 Kudos

Hi,

I am using crystal 2008 and i am trying to insert a picture into mu layout.

i want to insert a picture according to the picture path gievn in another report field.

The closest option is to use a hyperlink to the picture but that is no good because you only see the picture after clicking the hyperlink field and also the picture is opened in another window.

can someone tell me ho can i insert a picture dynamiclly using a given path?

Thanks, Udi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks alot...exactlly what i needed.

Udi

abhilash_kumar
Active Contributor
0 Kudos

Hi Udi,

Glad I could help!

-Abhilash

abhilash_kumar
Active Contributor
0 Kudos

Hi Udi,

You can save the path of the image in the 'Graphic Location' of the image. Here's what you need to do:

1) Insert OLE object and select BMP

2) Place the blank OLE object window in the desired section

3) Right-click the image and select Format Graphic > Picture tab > and click on the formula icon beside 'Graphic Location'

4) For eg: if the image is located in a folder in C:/, the path should be

"C:/Images/Windows.jpg"

Please do not miss the quotes.

If the image is stored on a shared drive, then just use a UNC path to the image.

Hope this helps!

-Abhilas