Friday, April 20, 2012

jQuery - How to position, resize and move one image over another

What I'm trying to achieve is: position one image over another and be able to move it within the region of the containing image, also to be able to resize the top image, by keeping its ratio. Then I need to know the size (w, h) and position (x, y) of the top image within the containing image container.



What I want is actually something like jCrop, but the highlight region to be a png image, and not a semitransparent rectangle.





No comments:

Post a Comment