This is a discussion on "A picture gallery" within the Website Planning section. This forum, and the thread "A picture gallery are both part of the Planning Your Website category.
|
|
|
|
|
![]() |
||
A picture gallery
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
A picture gallery
What is the best way to display images on a web page? I am building a site and I have several pages dedicated to displaying images in several rows going down each page. Should I just use a table?
|
|
|
|
#2
|
||||
|
||||
|
Re: A picture gallery
Lightbox - probably th best for what you want!
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
|||
|
|||
|
Re: A picture gallery
Oh I already have that, I meant the page itself. What's the best way of displaying them so that i doesn't look all thrown together.
|
|
#4
|
|||
|
|||
|
Re: A picture gallery
No you should use tables. I would set up a div class such as
.gallery Set each with a width and possibly a height, float it left and have each one follow the next across the page. Inside the div place your image. You can even put a caption in the div by using <p></p> tags. |
|
#5
|
|||
|
|||
|
Re: A picture gallery
I want to create thumbnails and once they click on the image, it will show up in a lightbox, is this how it should go:
|
|
#6
|
|||
|
|||
|
Re: A picture gallery
Oh my gosh... I'm sorry I had a typo in my last reply. You should not use tables... contrary to what I posted last time.
UGH. You should be using div's instead of tables. Tables are for tabulated data, not images. Sorry about that. |
|
#7
|
|||
|
|||
|
Re: A picture gallery
So should I do this:
|
|
#8
|
||||
|
||||
|
Re: A picture gallery
You would need many divs inside an overall container div.
I think the last code you posted will not work. Try something like: <div id="photos"> <div class="gallery><a href="image"><im src="image" width="100" height="100"></div> <div class="gallery><a href="image"><im src="image" width="100" height="100"></div> <div class="gallery><a href="image"><im src="image" width="100" height="100"></div> </div> #Photos having a set width etc.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#9
|
|||
|
|||
|
Re: A picture gallery
Ah! Thank you, I will definitely try that.
|
|
#10
|
|||
|
|||
|
Re: A picture gallery
O sorry I asked the wrong, I meant that I want to display them horizontally, not vertically. I wanted to display them in rows.
|
|
#11
|
|||
|
|||
|
Re: A picture gallery
This image is the gallery from stockvault.net. I would like the same layout for my gallery, because not all my thumbnails are the same. My thumbnails are 96x144 and 144x96.
|
|
#12
|
||||
|
||||
|
Re: A picture gallery
That should work, if the images are large enough to fit on one row.
If you had float: left on the images remove that.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#13
|
|||
|
|||
|
Re: A picture gallery
So what code should I use?
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with picture upload | Pss | PHP Forum | 2 | Apr 21st, 2008 20:37 |
| Created Flash Photo Gallery in PhotoShop. How can I put this Gallery INSIDE a page?? | BlackReef | Flash & Multimedia Forum | 3 | Dec 13th, 2007 18:30 |
| Help wanted with picture gallery for my website | sexyemma | Starting Out | 5 | May 9th, 2007 17:09 |
| create a picture gallery | afuller | Web Page Design | 2 | Aug 23rd, 2006 16:44 |
| Random picture survey picture help | Jould | Web Page Design | 6 | Feb 25th, 2004 14:07 |