zoom icon indicating copy to clipboard operation
zoom copied to clipboard

Vertically center image when triggered

Open scottsandersdev opened this issue 10 years ago • 5 comments

Hi there, I suppose this is more of a feature request, but I didn't see the tag option available.

I'm developing a product page for a major fashion retail corporation in nyc, looking to implement a quick zoom script when the user clicks on a scaled down version of the product image.

I'm curious if the script could be easily altered to vertically center the image when I call it like this. I could email you a link if you would like to check out how I'm currently utilizing it.

Thanks!

  • Scott

scottsandersdev avatar Dec 17 '14 18:12 scottsandersdev

@scottsandersdev , so when the zoom is triggered, you want it to zoom in on the larger image center?

Luphrid avatar Dec 17 '14 19:12 Luphrid

Yep, that's about it, I sent an email to your [email protected] address with a link to view the current page as is..

Thanks

scottsandersdev avatar Dec 18 '14 16:12 scottsandersdev

Hey there, I also just realized it is cloning the image in the dom.. I think twice.. ? Anyway to keep it from doing that?

  • Scott

scottsandersdev avatar Dec 18 '14 17:12 scottsandersdev

I just realized the person that responded to this was not the creator of the script. Let me know if you need an example of the page utilizing the script, and thanks for responding..

  • Scott Sanders

scottsandersdev avatar Dec 19 '14 15:12 scottsandersdev

An example would be great.

Luphrid avatar Dec 19 '14 19:12 Luphrid