zoom functionality?

They have: 53 posts

Joined: Oct 2005

Hello,
I have some pictures on my page that I want to add zooming functionality, that is, when a visitor clicks on an image, he will be able to zoom in and out on it.
Any ideas on how this can be done?

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Tell them to use Opera? Wink Just kidding.

You could probably do something like this with flash. Flash has zoom functionality built-in so it should be possible to put in some tools that will do that on a photo. I did a quick google search and a few tools came up

demonhale's picture

He has: 3,278 posts

Joined: May 2005

or you can try and use javascript, there are some neat tricks to check out at dynamicdrive.com or javascriptkit.com . Same as flash, it requires that the visitors should have javascript enabled which is the default. or just put a thumbnail and link it to a very large image instead, lol!...

They have: 53 posts

Joined: Oct 2005

well, I have something coded in Javacript that seems to work. But it changes the dimensions of the picture, while I want it to zoom in depth and not change the initial dimensions.

I have written:

Zoom out
Click on image to zoom in

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Alternatively, you could try using a simple rollover script, just rollover to a bigger image Smiling

Roo's picture

She has: 840 posts

Joined: Apr 1999

I don't know how to do it specifically, but this can also be done using SVG or Java.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.