Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
ASP Access photo gallery - text but no pictures
Old 05-02-2006, 09:07 AM ASP Access photo gallery - text but no pictures
Super Talker

Posts: 129
Trades: 0
Hi, developing a simpe gallery in Dreamweaver to add to my site. I've got a database with two fields, one for the image path, field type hyperlink, the other a text field for comments. I'm getting the correct text but no images, just red x's. I've attached the files below could someone please have a look and tell me which idiot switch I haven't pressed? I've tried everything I can think of but have hit a dead end.

Cheers, Lol

p.s. only 2 images uploaded to get in attachment size limitl
Attached Files
File Type: zip Photo.zip (59.3 KB, 15 views)

Last edited by Lol999; 05-02-2006 at 09:10 AM.. Reason: no attachments!
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
 
Register now for full access!
Old 05-02-2006, 10:43 AM Re: ASP Access photo gallery - text but no pictures
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Your photos aren't in the same directory as your script.

You can go one of two ways:

1) <img src="Images/" ... /> (add the part in bold).
2) Move all of your image files into the same directory as the script.

Personally, I'd go route #1. It's less messy.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 05-02-2006, 12:00 PM Re: ASP Access photo gallery - text but no pictures
Super Talker

Posts: 129
Trades: 0
Adam, you are a STAR!! What I've been doing wrong is putting an / in front of the path to the images in the database . What a idiot I twigged when I saw your snippet of code WITHOUT the / in front of the path.

Thanks, Lol
Lol999 is offline
Reply With Quote
View Public Profile Visit Lol999's homepage!
 
Reply     « Reply to ASP Access photo gallery - text but no pictures
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13874 seconds with 13 queries