Saturday, May 28, 2005

Coldfusion Image Display

I am trying to get an image to display from a path in an msaccess column.

<cfquery name="itemResult" datasource="main_line">
SELECT firstName, phoneID, image, width, height
FROM phone_book
ORDER BY firstName
</cfquery>

<cfoutput query="itemResult">
<img src="../images/#image#" width="#width#" height="#height#">
</cfoutput>

0 Comments:

Post a Comment

<< Home