View Full Version : How to view a picture?
anhtnjapan
08-12-2002, 05:17 PM
I want to view a picture with size is larger in another window.
How to I do it?
whammy
08-13-2002, 12:54 AM
Hi,
Really what you want to do is start with the big picture, and create thumbnails (a smaller picture) to click on with a graphics editor (i.e. Windows Paint, Photoshop, Paint Shop Pro).
Since this isn't a server-side ASP question, I'm going to move you to the HTML forum where you may get more help.
(Although you can use some programming (even javascript client-side) to aid in the process of displaying thumbnails/organizing your pictures if you number them and loop through them).
:)
Just to expand on Whammy's reply.
Start with the image you want to display.
Resize to (say) 650 x 400 (ish)
Save as (lets make up a name) ...
pic1.jpg
Now resize the same pic to a smaller (thumbnail size) say
100 x 67
and save as.....
pic1t.jpg
Note the file name is the same except I have included a "T" in the name. This is just my way of doing it, keeps the file names easy to follow. ("T" for "thumbnail")
I assume you know how to link, but just in case...
<a href="pic1.jpg"><img src="pic1t.jpg" width="100" height="67" border="0" alt="A DISCRIPTION OF WHAT THE PICTURE IS ABOUT" /></a>
Hey presto.
Tonz
:cool:
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.