Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Database results arent displaying JPEG's properly... [#BINARY#]

Status
Not open for further replies.

Gmozeley

Technical User
Apr 23, 2001
6
US
Hi,

I am retrieving results from an Access Database and displaying it in an ASP page. But upon viewing the site on the web the results for the picture is [#BINARY#]. Because of this I checked a few of my resources and found their is supposed to be code

<%
Response.ContentType=&quot;image/JPEG&quot;
%>

before the HTML. But I have no success with this either. I have designed this site using MS Frontpage 2000 if that makes a difference. I am new to the ASP pages and I am beginning to remember why I stayed away from them before. If anyone can Assist I would be very grateful.

Gmozeley
 
Are you storing images in your database??? This is not a good practice. Rather, store a text field that contains the url of the image on your webserver and serve it up to your users that way -- just output the contents of the field in an <img src=<%=rs(&quot;imgsrc&quot;)%>> fashion.

:)
Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top