Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
带有大图像的jQuery裁剪工具_Jquery_Jquery Plugins_Jcrop - Fatal编程技术网

带有大图像的jQuery裁剪工具

带有大图像的jQuery裁剪工具,jquery,jquery-plugins,jcrop,Jquery,Jquery Plugins,Jcrop,我有一个显示图像的标签。如果我加载大图像,我需要使用下面的CSS代码重新调整它的大小 .resize-large-images { min-width:100px; max-width:100%; width:auto !important; height: auto !important; } CSS工作得很好。但是,当我将它与jcrop一起使用时,它再次以实际大小加载。我应该如何克服这个问题?编辑jcrop文件?或者有其他选择吗 $(function() {

我有一个显示图像的
标签。如果我加载大图像,我需要使用下面的CSS代码重新调整它的大小

.resize-large-images
{
    min-width:100px;
    max-width:100%;
    width:auto !important;
    height: auto !important;
}
CSS工作得很好。但是,当我将它与
jcrop
一起使用时,它再次以实际大小加载。我应该如何克服这个问题?编辑
jcrop
文件?或者有其他选择吗

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