asp.net 4.0中的单个图像缩放器 [英] single Image zoomer in asp.net 4.0

查看:63
本文介绍了asp.net 4.0中的单个图像缩放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想在asp.net 4.0中使用jquery来缩放我的图像,我在互联网上找到了一些解决方案,但是他们为此使用了两个图像,我想使用单个图像来实现.如果有其他方法可以克服此问题,请帮助我解决此问题.请建议我.请快速使用它,我没有完成此任务的权限.
在此先感谢

Hi All,
i want to zoom my image using jquery in asp.net 4.0 i found some solutions on internet but they use two Images for that and i want do this using single image. pls help me to solve this if there is any other way to overcome this pblm pls suggest me. please i need it fast i dont have permission to go home without completing this task.
Thanks in advance

推荐答案

如果以fancybox为例并查看html源,那么它们使用两个图像是正确的.这实际上不是必需的,因为您可以使用较大的图像,也可以通过让浏览器按比例缩小图像来将其用作缩略图.
他们使用两张不同图像的原因是这样,缩略图占用的带宽更少,因此加载速度更快.我的建议是那样做,但是如果您真的不想这么做,那么您当然不必这样做.

http://fancyapps.com/fancybox/#examples [
If you take fancybox for example and look at the html source, it is correct that they use two images. This isn''t actually necessary because you could use the larger image and also use that as a thumbnail by letting the browser scale it down.
The reason they use two different images is that this way the thumbnails take less bandwidth and therefor load faster. My advice would be to do it that way but if you really don''t want to you don''t have to of course.

http://fancyapps.com/fancybox/#examples[^]

Good luck!


这篇关于asp.net 4.0中的单个图像缩放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆