This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Timeout when using large images

jasonvarga wrote on 2012-03-06:
When trying to generate a PDF containing several large images, I get a timeout.

Pdfcrowd Error: Timed out. Can't load the specified URL. List of the resources that can't be loaded:



Followed by a list of image URLs.

Placing lower dimension images works, removing the images completely also works.
Each image is 300kb(ish).
Is there a way to increase the timeout?

For what its worth, I'm doing this using ExpressionEngine with the PDFcrowd addon.
support wrote on 2012-03-07:
Hello,

the timeout is fixed and can't be increased.

It depends on how many images the page contains but in general several 300kB images should not cause a timeout. Please, post a link to the page with the images and we will take a closer look at it.
jasonvarga wrote on 2012-03-07:
The url is http://frasershiers.jvdesigns.com.au/lightbox/pdf
It's just a temporary URL.

Thanks
support wrote on 2012-03-07:
It seems that moving the images to a faster host could help.

For instance this image is downloaded at 30kB/s in 11 seconds:
http://frasershiers.jvdesigns.com.au/images/resized/assets/hahn/FraserShiers_Hahn_PioneeringBeering_945_610_c1.jpg

The same image is downloaded from dropbox (i.e. Amazon S3) at 685kB/s in under one second.
http://dl.dropbox.com/u/9346438/misc/FraserShiers_Hahn_PioneeringBeering_945_610_c1.jpg
jasonvarga wrote on 2012-03-07:
That site was being served right from my local MAMP installation which was obviously too slow.
Uploading them to a live media temple server, then trying again worked perfectly after only a few seconds delay.

Thanks for your help!