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:drivefolderwwwrootsitenameimagesimage.jpg“/>

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

Leave a Reply

Your email address will not be published. Required fields are marked *

About Host Media

We have been hosting websites since 2002 and are always moving forward. All articles written under the Host Media author are created by the team who support our customers.

Category

ColdFusion/Railo & MySQL

Tags

,