aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes how to zoom in an image using javascript or jquery Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "how to zoom in an image using javascript or jquery" Watch "how to zoom in an image using javascript or jquery" New topic
Author

how to zoom in an image using javascript or jquery

Vidya Gupta
Ranch Hand

Joined: Mar 18, 2012
Posts: 96
Hi All,

I would like to be able to zoom in and out a JPEG image in my project.

I would like to zoom the image when we click on some part on it. How can I achieve this?

In simple words, how can I zoom a JPEG image in and out when I click on the image programmatically? The solution may be in HMTL or Javascript or jquery. Or if there are any other third party tools to perform the zoom operation on jpeg images, please recommend them to me. Please give me any ideas.

Thanks,
Vidya
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
There are plenty of scripts on the net, did you search?
Sandy Chatterjee
Ranch Hand

Joined: Jun 27, 2012
Posts: 55






Take up one idea. Make that one idea your life; dream of it; think of it; live on that idea. Let the brain, the body, muscles, nerves, every part of your body be full of that idea, and just leave every other idea alone. This is the way to success.
Vidya Gupta
Ranch Hand

Joined: Mar 18, 2012
Posts: 96
ya i searched in internet.. I tried to do by jquery gzoom plugin.. But now my work is little bit changed. First i want to click on the image and then a pop up window should open and in that pop up window the zooming operations should happen. But by using gzoom plugin i don't know how to do the zooming operations in a separate pop up window..

Thanks,
Vidya
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
A pop up window? You mean window.open()? Avoid popups at all cost, that is a bad design.

Eric
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to zoom in an image using javascript or jquery
 
Similar Threads
display CGM images iingn web browser with out using any viewer in java
image zoom-in
Image resizing
How do i programatically zoom a jpeg image using java or html or any other tools?
Javascript+HTML HELP.....URGENT....