Photo Association

S

Sam

Hello all,

I am currently developing a website that is driven by a database. The
database will be used to access a large number of pictures. I've been told
that the pictures should be saved in the Image folder in FrontPage and not
directly in the Access DB. How do I associate the photos in the database?
Example: Label Name, Label Picture (how do I pull the Label Picture from the
Image folder?). I also want the user to have the ability to use the pictures
on their own sites. Will the way I'm setting up my website give each photo
it's own URL? If not, what is the best practice? Should I save all my
pictures to a photo site, and just use the URL in my site?

Thank you for your help in advance!
 
T

Teri Carnright

Hi, Sam~

You can save in the images/ directory or you can set up a different
directory. To associate the photos: in the database, the entry will be like
"image1.jpg". Let's assume that you are saving the images in the images/
directory. In that case, in your asp, your entry would be similar to

<a href="http://<%=FP_FieldVal(fp_rs,"PreviewURL")%>"
<img border="0" width="100" height="80"
src="<%=FP_FieldVal(fp_rs,"Image1")%>"></a>

You are asking that the visitors be able to display your images on their
website by linking directly to them??? I think that's not the best way to go
- that way, they will be using YOUR bandwidth and you're in for a potentially
huge hosting bill... Why not let them copy the images to use on their own
site?

Teri
:)
 
T

Thomas A. Rowe

<img src="images/<%=fp_rs("Picture")%>" border="0" width="400" height="200">

If you plan to have users link directly to your images, you will need to what your bandwidth.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
S

Sam

Pardon my lack of knowledge. If the images are saved on a third party site
and only referenced on my site, then the 3rd party provider would be getting
the bandwidth hit, correct? If the 3rd party provider was reputable then the
loading of the images would probably not be any slower than having the images
stored myself, correct?
 
T

Thomas A. Rowe

Correct, (I don't think reputable has anything to do with it) in that case you would store the full
URL to the images in your database.

<img src="<%=fp_rs("Picture")%>" border="0">
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
S

Sam B.

I would be signing on with an image hosting site like Andale or another
picture hosting site. I don't see any disclaimer on the sites I visited that
this would be and issue. Maybe I'm wrong?
 
T

Thomas A. Rowe

and you can end up with links pointing to adult images, etc.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Kinda looks like that is what their intent/business IS - hosting images and charging you for it.

Generally speaking though you would not do that as it is like stealing bandwidth.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top