Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Setting the path of an image dynamically Post Reply Post New Topic
Author Message
thunderball
Newbie
Newbie


Joined: 25 Jun 2010
Location: India
Online Status: Offline
Posts: 12
Quote thunderball Replybullet Topic: Setting the path of an image dynamically
    Posted: 29 Jun 2010 at 5:07am
Hi All,
 
I need to add an image to my report whose path needs to be given dynamically.
 
To achive it ,what I did was I added an image to the report from my local drive. Then on the report I right-clicked upon the image ,selected format graphich from th epop-up displayed. Then on the the menu that opened clicked upon picture tab.There I clicked upon the button avaliable near Graphic location.In the formula editor window that was displayed, I used and a parameter and file name like this - {?IMAGES_DIR} & "header.gif" wherw IMAGES_DIR is a parameter and the header.gif the name of the image to be displayed.
 
Now when I run the report, it prompts for the parameter where I give the path of the image file.
 
However this isnt working.Irrespective of the path given, the image displayed is the same one which I embedded from my local drivethe first time.
 
Please help me out. I think image path is not getting set.
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 29 Jun 2010 at 10:40am
Hi
I think crystal does not support GIF images format try converting images to JPEG OR BMP hope that helps
Cheers
Rahul
IP IP Logged
thunderball
Newbie
Newbie


Joined: 25 Jun 2010
Location: India
Online Status: Offline
Posts: 12
Quote thunderball Replybullet Posted: 29 Jun 2010 at 6:46pm
Thanks but it didnt work.
 
I gave the location and filename of a jpg image in the graphic location editor but it still continues to display the old image(the image which I inserted for the first time).
 
Is there any other place where path is set?
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 30 Jun 2010 at 2:31am

Hi

mail me the report and 2 images i will check if it behaves same on my machine.

rahulwalawalkar@yahoo.com

cheers

Rahul

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.