更大的图像文件质量更好的缩略图 [英] better quality thumbnails from larger image files
问题描述
问题是这些图像的质量(我无法控制)减少了。
在FF和Safari浏览器中,它们看起来要好于IE。
有没有办法让这些图片在我的服务器上缓存起来呢? (例如,一个JavaScript库,质量更好的调整大小)? IE浏览器的默认图片大小调整算法不是很好 - 它可以通过调整注册表项来改变,但当然这是你无法控制的。
然而,显然它也可以被触发,以通过css来做一个更好的图像调整大小
img {-ms-interpolation-mode:bicubic; }
来源: http://edmondcho.com/blog/2009/03/17/internet-explorer-image-resizing-tip/
I'm showing images from other websites as thumbnails. To do this I display them in a smaller img tag so the browser does the size decrease.
The problem is that the quality of these images (which I have no control of) is diminished. Also they look much better in FF and Safari than in IE.
Is there a way to make these images look better without caching them on my server? (e.g a javascript library that does the resize with better quality)? Any idea is highly appreciated.
IE's default image resizing algorithm is not that nice - it can be changed by tweaking a registry entry, but of course that is outside of your control.
However, apparently it can also be triggered to do a better image resize through css
img { -ms-interpolation-mode: bicubic; }
source: http://edmondcho.com/blog/2009/03/17/internet-explorer-image-resizing-tip/
这篇关于更大的图像文件质量更好的缩略图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!