Our online blog

Archive for December, 2008

Having problems with not working with images

Tuesday, December 9th, 2008

When working with some of our clients on windows servers we have noticed Coldfusion has some problems when working with images for cfdocument. The Coldfusion shows a 60 second time out error.

We found out that it was due to the image location as Coldfusion appears to pull all the files onto is main application so full fold paths are required.

Normally using:

<img src=”/images/image.jpg”/>

Instead of using the HTTP you need to use the file system path:

<img src=”file:///C:\drivefolder\wwwroot\sitename\images\image.jpg“/>

This corrects the issues with Coldfusion 7+ (Problem still in CF 8).