开发者

jQuery crop tool with large images

I have a <img> tag which shows images. If I load large images I need to re-size it using th开发者_开发技巧e following CSS code

.resize-large-images
{
    min-width:100px;
    max-width:100%;
    width:auto !important;
    height: auto !important;
}

The CSS works fine. But when I use it with the jcrop it again loads in the actual size. What should I do to overcome this issue ? Edit jcrop files ? Or is there any alternatives ?


$(function() {
       $('#cropbox').Jcrop({ boxWidth: 450, boxHeight: 400 });
 })
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜