views:

417

answers:

2

I want to show image in a crystal report. Scenario is something like this.

I have a database where my path of an image is persisting. eg ftp://Images/1.jpg

Now i want to repeat this image in a crystal report.

When i fills my datatable it shows me complete url. When i displays this field in GridView i uses imageBox to display my image and it works for me very fine.

But when i tries to do the same with crystal reports, it starts me showing image path as it is. Now here instead of path i want an image to be displayed.

A: 

I know that if you are using the Crystal Reports included with Visual Studio, this is not supported. It will display images stored in a db field, but not from a url.

I think (but do not know for sure) that no version of Crystal supports the ftp protocol for displaying images.

Ray
@Ray Can i do it with .rdlc file ?
Shantanu Gupta
I believe so, but I am not really familiar with rdlc files - here is a link I found that may help: http://msdn.microsoft.com/en-us/library/ms251715(v=VS.80).aspx
Ray
+1  A: 

Adapt the technique in this posting: Crystal Reports: Dynamic Images.

Craig
fyi - this is not available in the Crystal Reports embedded in Visual Studio.
Ray
@Ray: This technique (i.e. changing the Graphic Location) works fine in VS 2008 with CR 2008 for Visual Studio.
Craig
@Craig: when I do this, Insert-Picture requires me to select an an image. When I then right-click, there is no "format graphic" option, only "format object". On the "picture" tab, there are no formula options - only sizing. I am using the Crystal that comes free with VS - did you do a separate installation of Crystal 2008?
Ray
@Ray: I must have installed it separately. I was able to validate the lack of functionality on CR 10.5 for VS. +1 for you.
Craig