开发者

CarrierWave: resize default images

I've been开发者_StackOverflow using CarrierWave to successfully resize my images and I've recently added a default image (default_url) to some of my uploaders. However, it doesn't seem to resize my default images.

Is there a way to force to resizing of these images?


Not on a file level -- Carrierwave doesn't actually manage or touch these default_urls. You'll need to get that file in the proper size.

Or, you can reduce the size via CSS if it is in the same dimension.

But generally, you'll need to just get the default images in their proper size.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜