Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Photo Album 1

Status
Not open for further replies.

rsshetty

Programmer
Dec 16, 2003
236
US
Is there any way to create an album in HTML .. with thumbnails etc..???

It's always in the details.
 

Yes?

Are you asking how to do a static page with thumbnails, where you know the filenames and sizes in advance, or do you want to create one on-the-fly from a folder that the user specifies? Or something else entirely?

>> It's always in the details.

How ironic a tag-line ;o)
 
I want a static page.

rsshetty.

It's always in the details.
 

Suggest the best course of action will be to use a table. Something like this would suffice to display 2x2... I'm sure you can modify it to be different dimensions:

Code:
<html>
<head></head>
<body>
	<table border="1" cellpadding="0" cellspacing="0">
	<tr>
		<td><img src="1.jpg" width="50" height="50" alt="Picture 1"></td>
		<td><img src="2.jpg" width="50" height="50" alt="Picture 2"></td>
	</tr>
	<tr>
		<td><img src="3.jpg" width="50" height="50" alt="Picture 3"></td>
		<td><img src="4.jpg" width="50" height="50" alt="Picture 4"></td>
	</tr>
	</table>
</body>
</html>

Hope this helps,
Dan
 
Thanks. I already did that. I just realized that since the pictures were of different resolutions, the thumbnails can't be of the same size without looking all fuzzy??? or can they??

rsshetty.

It's always in the details.
 

They don't have to be of the same size. I don't know where you got that idea from... Did you try experimenting and changing the image widths / heights? If so, you would have found it didn't matter, so I can only assume you didn't!

Try experimenting a little - and if you get stuck, post some code, or a more precise question (with details).

Dan
 
Thanks .. Now that's what I wanted to know.



rsshetty.
It's always in the details.
 
You can try one of many free photo gallery website tools. This is one I've seen and has been quite popular:


This is another one that's been getting popular:


Both of these will save the hassle of resizing your images and whatnot, but you need to make sure your have the correct hosting in order to allow the software to run.

Steve Kiehl
Web Page Designer - Nanovox Productions
Fantasy Artist - Zeadi
 

>>> In order to have thumbnails of the same size you have to manually crop/resize the thumbnails in an image editing software like Photoshop, Paintshop, etc...

>> Thanks .. Now that's what I wanted to know.

What? Your question was: "Is there any way to create an album in HTML".

Maybe if you had asked "How do I make all my thumbnails the same size" and posted to a graphic design forum, an answer would have been slightly easier to give.

*shrug*

Dan
 
I think that at first his original problem was how to make the html album not resize thumbnails BUT later on the thumbnail problem cam up and continued...

"Thanks. I already did that. I just realized that since the pictures were of different resolutions, the thumbnails can't be of the same size without looking all fuzzy??? or can they??"

Getting married in Malta?
Visit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top