Skip to main content
Inspiring
September 16, 2008
Answered

cfdocument times out due to img tag

  • September 16, 2008
  • 1 reply
  • 261 views
Hello there, i've got a similar problem once the user 'Ken' got:

I've programmed a script which generates a PDF with HTML-Tags, nothing special. There are 2 image tags included, one that looks up an image within the same directory, the other is going to request a chart image from http://img.cash.ch

On my local dev machine, everything worked just fine, on the production, everything WOULD HAVE worked if it wasn't for the 2 image tags. They are really making problems. But once I remove the image tags, everything works again, even on the production.

Can anybody tell me what is the problem here and how to solve it?

Here's the code.:
This topic has been closed for replies.
Correct answer Daverms
Hi,

You may try this workaround for your first <img> tag that is,

<img src="images/cash_logo.gif">

But as with the other <img> tag,

i.e,

<img src=" http://img.cash.ch/idcharts/MONTH3/#qArticleValors.valor#-#qArticleValors.bc#-#qArticleValors.currencycode#.png">

I am not sure the same workaround will do the trick here, as you may need to explicitly download the image into your server then start it over.

1 reply

DavermsCorrect answer
Inspiring
September 17, 2008
Hi,

You may try this workaround for your first <img> tag that is,

<img src="images/cash_logo.gif">

But as with the other <img> tag,

i.e,

<img src=" http://img.cash.ch/idcharts/MONTH3/#qArticleValors.valor#-#qArticleValors.bc#-#qArticleValors.currencycode#.png">

I am not sure the same workaround will do the trick here, as you may need to explicitly download the image into your server then start it over.