[HTML Picture Question] - Computers



Search Tech-Forums - link takes you to our Forum's search page.

Note: The following is only a text archive!


To view the actual forum discussion, please visit our website at http://www.tech-forums.net

Pages:1



HTML Picture Question

(Click here to view the original thread with full colors/images)



Posted by: King X13

is there an easy way to do this:

i want to have a thumb nail image, and then when you click that it opens the bigger image in a new window on a blank page.

do i have to put each big image on its own page and link the thumb nail to it or is there an easier way. thanks



Posted by: FireFox

[code]<a target="_blank" href="image.img"><img src="image.img" width="100" height="100"></a>[/code]

target="_blank" will open the link in a new window.

Use the "width" and "height" options to crop the image to a "thumbnail size".

Sure, this is the easy way to make a thumbnail and it does work, but it's not really the smart way.



Posted by: turtile

Frontpage has a feature that automatically creates thumbnails to your specified size.

The method above will work but your page will load extremely slow due to file sizes and processing power to resize it and the image may look a little off depending on the browser.

I don't use frontpage but I use image editing software to batch convert all the images. I insert the thumbnail size and link it to the full size image. (the browser will open a new page when opening a photo alone)



Posted by: willsko87

...and if you want it to look a bit fancy - [url]http://jquery.com/demo/thickbox/[/url]



Posted by: King X13

Thanks alot guys im gonna try what each of you listed and see what works best.

**EDIT** What turtile said is exectly what i was trying to do, so thanks, when every i do web pages i always do every the complicated way and overlook the simple way lol.



Posted by: starkmann

I'm a cheap ******* so I just use paint to make my thumbnails. 10% or 5% of the original image size seems to be about right. It shrinks the file size appropriately too. Then I just link the thumbnail image to the full size image.
I never thought of the Target = blank thing, I'm gonna steal that.



Posted by: strangelife

target= _blank thing is commonly used !



Posted by: starkmann

yeah, i figured as much. I've seen it around, but it's not something i have used thus far. i never really "learned" html. It was more of just doing enough to get by.





vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited.


PPC Management
vB Easy Archive Final - Created by Xenon