justuptime.com - monitor your servers & websites

zoom functionality?

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

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
Administrator

She has: 10,288 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,301 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
Moderator

He has: 2,944 posts

Joined: Oct 2002

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

Roo's picture
Developer

She has: 836 posts

Joined: Apr 1999

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