如何在浏览器中执行此图像缩放技巧? [英] How to do this image zooming trick in a browser?
问题描述
从一张图片中创建三个不同大小(小,中,大)的图像文件。
$ b
-
首先,在
浏览器中显示小图片。 -
当用户放大小图像
用中等大小的图像替换。
现在用户可以在$ b上下左右的$ b窗口。当用户缩小小图像
时,用小图像替换它。
我更喜欢JavaScript(Flash是第二个选项)。你会推荐什么工具?
这会对你有用吗? http://www.netzgesta.de/shiftzoom/ =nofollow> http://www.netzgesta.de/shiftzoom/
这可能是比你感兴趣的图像数据大得多。
I would like to do the following trick in a browser:
Create three image files of different size (small, medium, large) from one picture.
First, display the small image in a browser.
When a user zooms in the small image replace it with the medium one.
Now the user can scroll it within the window up and down, left and right.When a user zooms out the small image replace it with the small one, etc.
I would prefer JavaScript (Flash is the second option). What tool would you recommend ?
Would this work for you?
http://www.netzgesta.de/shiftzoom/
This might be for image data that is much larger than you are interested in.
这篇关于如何在浏览器中执行此图像缩放技巧?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!