This is a migrated thread and some comments may be shown as answers.

external linked images in html?

3 Answers 179 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raido Valgeväli
Top achievements
Rank 2
Raido Valgeväli asked on 03 Apr 2009, 06:59 AM
Hi

I'm trying to deploy a report with html output that has quite a lot of images inside. Some are imported bitmaps, some are generated by reporting engine. At the end all the images are "static" e.g. the same in all the reports. As we have quite number of reports and they get sent around a lot we thought it to be a great idea to have all the images linked from a public web server. Would that be possible?

The other problem is that html export places calls to local resource urls for image sources (&StreamID=pwpejk4p1st) that we can't find a way to overcome (didn't find a clue in documentation nor forums). If we could solve the first thing probably it would also help here. Thank you.

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 03 Apr 2009, 10:38 AM
Hi Raido,

You might consider subscribing to our blog posts as well, as they are yet another source for knowledge. Here is everything you need to know about the picturebox item: Telerik Reporting: Using the PictureBox Item.

Regards,
Steve
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Raido Valgeväli
Top achievements
Rank 2
answered on 03 Apr 2009, 03:02 PM
Hello
Yes, this is really good on picturebox but didn't give the answers.
1) Even though you enter an external url into designer, the html output contains ...&StreamID=qi0050s4j01 in the output
2) The url does not work as background image of a textbox
3) Engine-generated images of shapes cannot be used this way.
Thank you.
0
Hrisi
Telerik team
answered on 07 Apr 2009, 01:09 PM
Hi Raido,

Up to your questions:

1) Even though you enter an external url into designer, the html output contains ...&StreamID=qi0050s4j01 in the output

You can check the Designer generated code. It should look similar to what is explained in the blog post:
        employeeImage.Value = "http://myviewstate.net/images/employee.jpg";
Please, take a look at our example solution Business Objects report that uses PictureBox with absolute url.

2) The url does not work as background image of a textbox

You are right. This behavior is by design and is meant to speed up a little the resource retrieval.

3) Engine-generated images of shapes cannot be used this way.

Images generated from the shapes is cached internally and are not intended for other purposes.

Regards,
Hrisi
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Raido Valgeväli
Top achievements
Rank 2
Answers by
Steve
Telerik team
Raido Valgeväli
Top achievements
Rank 2
Hrisi
Telerik team
Share this question
or