Skip to main content
Inspiring
September 17, 2008
Answered

Show Picture

  • September 17, 2008
  • 2 replies
  • 306 views
In my SQL database I stored the location of the image and now I want to output the image in my page using the image location located in the database.

Thanks!!!
This topic has been closed for replies.
Correct answer A***
Assume database column image_location holds the location:
<cfoutput query="query_name">
<p><img src="#image_location#" alt="image_name" height="image_height" width="image_width" /></p>
</cfoutput>

2 replies

A***Correct answer
Inspiring
September 18, 2008
Assume database column image_location holds the location:
<cfoutput query="query_name">
<p><img src="#image_location#" alt="image_name" height="image_height" width="image_width" /></p>
</cfoutput>
Inspiring
September 17, 2008
dchard wrote:
> In my SQL database I stored the location of the image and now I want to output the image in my page using the image location located in the database.
>
> Thanks!!!

Ok then do just that!