Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoom to region (not object) #9

Open
hgrecco opened this issue Jul 4, 2011 · 8 comments
Open

Zoom to region (not object) #9

hgrecco opened this issue Jul 4, 2011 · 8 comments

Comments

@hgrecco
Copy link

hgrecco commented Jul 4, 2011

Hi,

Is there a way to zoom to a region and then pan, i.e. define a certain rectangle by clicking with the mouse in the container will zoom in and then holding the button presses will allow the user to pan at the same zoom level?

Thanks,

@jaukia
Copy link
Owner

jaukia commented Jul 6, 2011

Hi,

Currently this is not possible.

I might implement zooming to a region at some point, but panning I haven't been thinking about, since it might get a bit tricky to implement nicely.

@jaukia jaukia closed this as completed Jul 6, 2011
@jimmykhlam
Copy link

Both zooming to region and panning would be awesome features. Looking forward to them.

@jaukia
Copy link
Owner

jaukia commented Nov 27, 2011

Thanks for your input! I'm wondering, what would be the use case for this? My feeling is that there are many better and more specialized image zooming plugins already for jQuery and I wouldn't want to recreate them with Zoomooz. For a list of image zooming plugins, see for example: http://www.tripwiremagazine.com/2011/10/jquery-image-zoom.html

@jimmykhlam
Copy link

Hi Janne, yes there are plenty of image zooming plugins already but none that provide HTML page zooming. If you can take the "google maps" zoom and pan effect and apply it to any HTML page, I think that'll really revolutionize webpage zooming. Especially since browser zooms cannot be programmatically controlled. Other people are looking for this function too.

I'm in fact currently experimenting using your plugin to achieve a pseudo-region zooming effect by overlaying an overlapping grid of transparent divs onto a page, and applying a zoomTarget class to each of them.

Hope you will consider implementing this feature in the near future. I'll be the first to use it!

@jaukia jaukia reopened this Jan 11, 2012
@jaukia
Copy link
Owner

jaukia commented Jan 11, 2012

Thanks for the input! I'm currently somewhat busy, but if I have time at some point, I could have a look at this.

@benjaminsehl
Copy link

Hello there – I was hoping to use tags to be able to zoom in and out of different parts of a diagram (that is made with SVG)

Would this be possible? Has this feature been touched yet?

@jaukia
Copy link
Owner

jaukia commented Sep 4, 2012

Whoisbenjamin, I don't think Zooming to SVG diagram parts is possible, unless you add html elements on top of the SVG to zoom to. Here is an example of that:
http://janne.aukia.com/zoomooz/examples/svgtree/index.html

If I have time at some point, I might add a way to zoom to a particular area inside an image.

@jaukia jaukia closed this as completed Sep 4, 2012
@jaukia jaukia reopened this Sep 4, 2012
@Anuj16
Copy link

Anuj16 commented Nov 7, 2013

Can i zoom an image by clicking on a button instead of clicking on the image itself......?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants