How to create image gallery ?

This is a discussion on "How to create image gallery ?" within the Starting Out section. This forum, and the thread "How to create image gallery ? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 22nd, 2007, 14:57
Junior Member
Join Date: Apr 2007
Location: UK
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
How to create image gallery ?

Hi again

I now know about basic html and css. I downloaded some templates and had been playing with those. However, I am a lil stuck with images. I'm not sure yet how to put images on one of my web page. How are images put on web pages efficiently? Do I need to use tables to display images?

Can someone please show me how to code for putting images on a webpage. More specifically, I'm not sure how to set the number of rows / columns.


Thank you.
Reply With Quote

  #2 (permalink)  
Old Apr 22nd, 2007, 16:28
Junior Member
Join Date: Apr 2007
Location: UK
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How to create image gallery ?

I should've stated my problem a lil clearly above. Actually, the problem I'm facing because I'm using CSS to use hoverbox for the images. I've attached here the web page and the css file I'm trying to figure out. The problem is I don't know how to make the changes because when I make any changes (e.g. delete any image, try to change rows/colums) everything scatters.

BTY, these two files are not mine rather I downloaded it from the internet (can't remember the exact source ).


N.B I had to rename the css file to txt to be able to upload it.
Attached Files
File Type: html Products.html (4.2 KB, 22 views)
File Type: txt hoverbox.css.txt (1.5 KB, 28 views)
Reply With Quote
  #3 (permalink)  
Old Apr 22nd, 2007, 19:06
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How to create image gallery ?

For a row of images I would use a <div class=""></div>Use css to put the div where you want it with the width and height you want.

Then put your images in the div. Float each image to the left and add a right-margin to the image with css. Apply that css to each image.
Typcially if you specify the width of the div class, once you run out of space the images will automatically go to the next row.

If you want even more control, just start a new div class just like a new table row.

Does that help you?
Reply With Quote
  #4 (permalink)  
Old Apr 23rd, 2007, 00:35
Junior Member
Join Date: Apr 2007
Location: UK
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How to create image gallery ?

Thanks Lchad for your kind reply.

However...erm...because I'm still very new to all of these, perhaps an example would be more helpful to me (even better if you show me using the files I've uploaded)
Reply With Quote
  #5 (permalink)  
Old Apr 23rd, 2007, 02:07
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How to create image gallery ?

If I have time tomorrow, I'll see if I can ... someone else might have a chance as well!
Reply With Quote
Reply

Tags
image

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Gallery Help McG Web Page Design 1 Apr 18th, 2008 01:29
Image gallery not displaying enlarged image AdRock PHP Forum 15 Sep 1st, 2006 11:31
create a picture gallery afuller Web Page Design 2 Aug 23rd, 2006 16:44
Need to create a photo gallery and send pics by email jaxsjaks PHP Forum 5 Dec 21st, 2005 16:25
how can i create a wireframe image from a solid image of som benbacardi Graphics and 3D 5 May 22nd, 2004 11:05


All times are GMT. The time now is 06:27.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43