38
Views
7
Comments
[Ultimate PDF] How to handle dynamic images from external link while using UltimatePDF generation?
Question
Forge component by Leonardo Fernandes
15
Published on 08 Jan 2021

Greetings, 

While trying to generate PDF report , local images are working perfectly but dynamic images which is loading using handler (from CDN URL) shows broken (image attached).
Below is image source URL format. What could be the issue? How to handle dynamic images from external link?

"https://cdn.abc.com/abc/downloader.ashx?email=abc@abc.com.jpeg"
UltimatePDFImagePrintIssue.PNG

Rank: #23119

Hi Benjith,

Thanks for your quick response.

The above URL is not real. I just wanted to show the format...What i'm using is an internal image URL. Its working perfectly while displaying on web page but while printing to PDF its getting broken.

Wondering if there is any solution to handle external images.

Regards,

Jim



mvp_badge
MVP
Rank: #72

Jim Mathew wrote:

Hi Benjith,

Thanks for your quick response.

The above URL is not real. I just wanted to show the format...What i'm using is an internal image URL. Its working perfectly while displaying on web page but while printing to PDF its getting broken.

Wondering if there is any solution to handle external images.

Regards,

Jim

Sorry Jim, I missed the 'Format' word :)

I will take a look and let you know if I find any solution regarding this.


Regards,

Benjith Sam

mvp_badge
MVP
Rank: #72

Hi Jim,

I tried the print pdf server action (also Print Layout) from the Ultimate PDF forge component as per the mentioned use-case and also used the image referring to External URL and it's working fine for me.

Please see this sample app - UltimatePDF

"https://homepages.cae.wisc.edu/~ece533/images/cat.png"

Regards,

Benjith Sam

Rank: #23119

Benjith Sam wrote:

Hi Jim,

I tried the print pdf server action (also Print Layout) from the Ultimate PDF forge component as per the mentioned use-case and also used the image referring to External URL and it's working fine for me.

Please see this sample app - UltimatePDF

"https://homepages.cae.wisc.edu/~ece533/images/cat.png"

Regards,

Benjith Sam

 Hi Benjith,

Thanks for your reply. Still its not working. I tried same using UltimatePDF demo but no luck. Sample demo attached. You will find a page called Test with both dynamic and static image...Static is printing but dynamic is blank. Appreciate if you can have a look and advise if something missing.

 Regards,

UltimatePDFDemo.oml