Discussion Locked

Objects from MS Access to Frontpage/ASP

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi there, I have a MS Access data records that contain photo/images in each record, and I am currently creating a web site with Frontpage 2000, but when I create an ASP page to display the records in a results table the images that are held in the record are not displayed, instead it says [#binary#].
Why is that and can anyone help?

Pete

5 replies

by vomastic

I've been looking into the same thing and found the following answers:
Q173308 - HOWTO Displaying Images Stored in a BLOB Field.htm in the Microsoft Knowledge base.

And from ASP101.com: Author: Eivind B?
E-mail: misc@eivind.com
Date: 3/13/2000 7:46:14 AM
Subject: Re: ASP -- Access -- Images -newbie question
Message: I had the same problem.
I have a table with a columm called "bilde" (Norweigian for picture) where i store the image name without extension (.jpg)

I used the Frontpage 2000 Database Results Wizard to make the database results.

I inserted a image into the database table an called the following variable <%=FP_FieldURL(fp_rs,"bilde")%>

This looks like this on my page:
src="arkiv/tumbs/<%=FP_FieldURL(fp_rs,"bilde")%>.jpg"

You can see the page here: http://fotokilden.no/test.htm

Haven't had a chance to test them yet.

by bill_h

It should be noted that the previous answer indicates the database stores the *name* of the image - not the image itself, as I understand your database does.

The MSDN article "HOWTO: Retrieving Bitmap from Access and Displaying In Web Page" describes an problem in Access 97 identical to yours - and it applies to Access 2000 as well. The article is located at:

http://support.microsoft.com/support/kb/articles/Q175/2/61.ASP

Should you not have to ability to create the ActiveX DLL mentioned in the article, I would be happy to create it and send it to you.

This issue is also discussed in the paragraph of the following article:

http://msdn.microsoft.com/library/periodic/period98/geek0698.htm

Hope this helps...

This discussion is closed to new replies.