I have a photo gallery. All the photos are displayed as thumbnails. When a user clicks on a thumbnail, the preview will be displayed in a canvas with full size. Now, I want to zoom the displayed image as much as possible. Any help is appreciated.

有帮助吗?

解决方案

I believe you should use the standard Pan/Zoom component.

Its in beta but pretty stable.

You can mix it with something like this to do what you want.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top