Expand my Community achievements bar.

Problem using image via URL

Avatar

Former Community Member

Hi everybody

I have a problem with loading images via URL into my PDFs.

I am using LCD ES2 Version 9.0.1....

I want to create a PDF which loads images from the internet but it does not work.

So far I have tried to add an image or image field to my PDF in the LCD and populate that image using the Object-->Field-->URL: palett. I put the URL in there like this http://www.adobe.com/imageshome/pdfgift_home.gif , tick the "embed image Data" checkbox (also tried with without that just to be sure) and save as Dynamic PDF (I also tried static) but when I open the PDF in adobe reader 9 or 10 or acrobat  9 there is no image showing. I also put the image in a subform and made that subform flowed, as well as the page itself and made the binding global.

I have the form properties - default set to "Acrobat and Adobe Reader version 9.0 or higher", Default Language to JavaScript, PDF Render format to Dynamic PDF.

I also tried using JavaScript events like "form:ready ImageField2.value.#image.href = "http://www.adobe.com/imageshome/pdfgift_home.gif" as discribed here http://partners.adobe.com/public/developer/en/tips/lc_dynamic_images.pdf but that also does not work.

What am I missing?

Any help would be great and greatly appreciated!!!

Thanks and best regards

Norbert

3 Replies

Avatar

Employee

As far as I can tell, this use case is not allowed because of cross site references related security concerns. The form can refer to the images stored on the same server from where the PDF is served, but the images cannot come from external servers.

Avatar

Former Community Member

Thanks that might be the problem because we were able to load pictures into a PDF using webdynpro and ADS located on a SAP CE Server. Thank you very much for the quick reply!!!