有没有可以动态制作图像缩略图的 jQuery 插件?
有谁知道一个 jquery 插件可以制作托管在另一个站点(Flickr/Picasa/SmugMug/等)上的图像的缩略图?我尝试使用 Galleria,但不太喜欢它。它有能力动态制作缩略图,所以我知道这是可能的。
我想做的是为我的画廊使用 Colorbox 幻灯片,但我不想使用如果不需要的话,可以制作所有图像的缩略图。我认为这是通常的做法,不是吗?我以前从未在网站上真正建立过画廊,但据我所知,我认为制作缩略图通常是该过程的一部分。
我想我可以对 Galleria 进行逆向工程,但我不是 javascript/jQuery 专家。我大概是个中间人吧。我希望其他人已经为我做到了......
Does anyone know of a jquery plugin that can make a thumbnail of an image hosted at another site (Flickr/Picasa/SmugMug/etc.)? I was trying to use Galleria, but didn't like it very much. It had the capability to make thumbnails dynamically, so I know it is possible.
What I'd like to do is use a Colorbox slideshow for my gallery, but I'd rather not have to make thumbnails of all the images if I don't have to. I think that's the usual practice isn't it? I've never really build a gallery on a site before, but I think making thumbnails is usually part of the process from what I can tell.
I suppose I could reverse engineer Galleria, but I'm not a javascript/jQuery expert. I'm probably an intermediate. I was hoping someone else had already done it for me...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
缩略图的目的是避免在不需要时下载整个大图像。如果您无论如何都要下载大图像,您不妨在 CSS 中缩放它们 - 结果是一样的。您真正需要的是服务器上的缩略图,以最大限度地减少传输的数据。
The point of thumbnails is to avoid downloading the entire large image when you don't need to. If you're downloading large images anyway, you might as well just scale them in CSS - the result is the same. What you really need is the thumbnail on the server, to minimize the data being transferred.