HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
photo gallery table not working
Post new topic   Reply to topic    HTML Help Forum -> Images & Graphics
View previous topic :: View next topic  
Author Message
j_c



Joined: 14 Apr 2006
Posts: 5

PostPosted: Fri Apr 14, 2006 6:44 am     photo gallery table not working Reply with quote

Hi there, I'm pretty new to code and am having problems adding a row of thumbnails to my photo gallery. The thumbnails are set up in a 3 column table. I know the code for the first row is fine - it was written by someone who knew what he was doing! But now I'm trying to add the next row. He did set it up so that I could just slot in the new info, but I'm having issues.

I'm writing the code in World Book Notepad (I'm on a Mac), and I don't have web page software. When I open the file in IE, Netscape, Safari, etc. it seems to be working. But when I upload it to my site, the new photos don't appear.

Here's the address for the photo page: http://www.members.shaw.ca/jumanah/gallery.htm

And here's the code - both the first 3 that work and the second row that doesn't (I'm sorry if it's not too pretty):

<tr>
<td valign="top">
<table width="375" align="center">
<td valign="top" width="125" align="left">
<a href="images/gallery/jumanah1.jpg" target="_blank"><img src="images/gallery/jumanah1thumb.jpg"></a>
</td>
<td valign="top" width="125" align="center">
<a href="images/gallery/jumanah2.jpg" target="_blank"><img src="images/gallery/jumanah2thumb.jpg"></a>
</td>
<td valign="top" width="125" align="right" >
<a href="images/gallery/jumanah3.jpg" target="_blank"><img src="images/gallery/jumanah3thumb.jpg"></a>
</td>
</tr>
<tr>
<td valign="top" width="125" align="left">
<a href="images/gallery/jumsham1.jpg" target="_blank"><img src="images/gallery/jumsham1thumb.jpg"></a>
</td>
<td valign="top" width="125" align="center">
<a href="images/gallery/jumanahblue.jpg" target="_blank"><img src="images/gallery/jumanahbluethumb.jpg"></a>
</td>
<td valign="top" width="125" align="left">
<a href="images/gallery/jumblueveil.jpg" target="_blank"><img src="images/gallery/jumblueveilthumb.jpg"></a> </td>
</tr>

Let me know if more info is needed. Thanks in advance for your help!
JC
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Fri Apr 14, 2006 12:48 pm     Reply with quote

The code is fine - the images are not showing up which leads me to believe the path is incorrect. First - have you uploaded the images?

If so, is the name spelled correctly? On a *NIX server, it is case sensitive, meaning jumanahbluethumb.jpg is not the same as jumanahbluethumb.JPG or Jumanahbluethumb.jpg. (On windows, it does not matter.)

_________________
Corey
Loud Commerce | Loud Worx | Toll Free Solutions
j_c



Joined: 14 Apr 2006
Posts: 5

PostPosted: Sun Apr 16, 2006 10:58 am     Reply with quote

Hi -

I did upload the images. They are in the correct folder, and do have the correct names (on hunting for previous posts I came across one that mentioned the case-sensitivity, so made sure to fix that)

Well, let me rephrase - i believe that I have uploaded the images... I followed the same procedure as with the other pages that I've updated, and it always worked before. I just tried again to be sure I had done it, and yup, I did. I'm uploading via terminal - ftp to shaw.ca and put the file on. Even tried deleting the old one first (though that was never an issue before).

Any other ideas? I'm at a loss...

JC
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Sun Apr 16, 2006 11:34 am     Reply with quote

Well you are pointing to
Code:
http://www.members.shaw.ca/jumanah/images/gallery/jumsham1thumb.jpg
and when I go to that URL, the image is not in there.

_________________
Corey
Loud Commerce | Loud Worx | Merchant Account Blog
j_c



Joined: 14 Apr 2006
Posts: 5

PostPosted: Mon Apr 17, 2006 3:44 pm     Reply with quote

ah ha! I see now.... I had uploaded the gallery file, but not the images file.

Unfort, this leads me to another problem - how do I upload those files? (My friend neglected to mention this in the instructions he left before heading off to tour the world...)

When I go into terminal, I connect to shaw via ftp (not sure if that's the correct way to describe this process, but I'm pretty sure you know what I mean), and log on. So then, looking at the list of files that is uploaded, I have (among others) gallery.htm and images with no file extension.

When I upload any of the files with extensions, I just type "put gallery.htm" and it does. But when I try typing "put images" it comes back with a message stating that "images: not a plain file".

So I'm guessing that there is something in the uploading procedure that I'm missing. Would you happen to know what it is?

thanks Smile
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Tue Apr 18, 2006 3:32 am     Reply with quote

What program are you using to FTP? Do you use a browser or an FTP program?

_________________
Corey
Loud Commerce | Loud Worx | Merchant Account Blog
j_c



Joined: 14 Apr 2006
Posts: 5

PostPosted: Tue Apr 18, 2006 3:19 pm     Reply with quote

I guess it would be an FTP program. It's just called Terminal on the Mac I use. I open that up, type "cd jumanahweb" to get into the right directory, then "ftp ftp.shaw.ca" to connect to shaw, type in my username and password, then upload the htm files.

Does that help?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Wed Apr 19, 2006 3:11 am     Reply with quote

Gotcha - you need to make sure there is a folder on the server called images/gallery and then you need to put each image on the server. Try something like: put jumsham1thumb.jpg

_________________
Corey
Loud Commerce | Loud Worx | Merchant Account Blog
j_c



Joined: 14 Apr 2006
Posts: 5

PostPosted: Fri Apr 21, 2006 2:51 pm     Reply with quote

Yay! it worked!

I was just missing the part about accessing the correct directory - both on the server and in my own hard drive (duh).

thanks so much for your help!

jc
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Sat Apr 22, 2006 3:22 am     Reply with quote

Very glad it worked out - good luck with the site!
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> Images & Graphics All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial