开发者

Is there a jQuery plug-in that makes thumbnails of an image dynamically?

开发者 https://www.devze.com 2023-01-06 00:10 出处:网络
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 c

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 re开发者_运维问答verse 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...


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.


  • http://joanpiedra.com/jquery/thumbs/

jThumb dynamically wraps images and/or link images with a div. You can add them an specific size (width and height) inside the css file. And optionally it can automatically center the image inside the frame.

0

精彩评论

暂无评论...
验证码 换一张
取 消