September 15, 201214 yr I know there are many scripts I can download but none so far do what I want. All I am after is... a large image, say 1000x1000 is shown in an img tag with the dimensions 100x100, when you click on the image the image resizes to it's maximum size and the part of the image that you clicked on to zoom is in the centre. Very much like the standard zoom feature in browsers like this http://i.imgur.com/Jqmsl.jpg So far I am loading the <img> with max-height: 90% set in the css, then using jQuery on click I am removing the max-height so that the image changes to it's full size which is working fine, I just don't know how to make the area of the picture that I click take the focus... http://www.delvedeeper.co/2012/i.imgur.com/360 If someone knows how to do this, or knows a script that will do this that would be awesome!!! Edited September 15, 201214 yr by adamsmith
September 16, 201214 yr What about Lightbox or Shadowbox? Lightbox: http://visuallightbox.com/js-jquery-cloud-demo.html Click the images for examples. Shadow: http://www.shadowbox-js.com/index.html Scroll down.
Create an account or sign in to comment