Open bbhattaraisumit88 opened 6 years ago
I am trying to crop images using different cropper sizes when I apply width of cropper till 819px it is working fine but when I apply width of cropper as 820px; cropper is displayed but image is not shown. Below is my code:
$('.image-editor').cropit({ exportZoom: 1.25, imageBackground: true, imageBackgroundBorderWidth: 200, width: 820px, height: AdvertisementConfig.config.imgHeight, initialZoom: 'image', imageState: { src: AdvertisementConfig.config.filepath + '/' + AdvertisementConfig.config.defaultAd, }, });
I am trying to crop images using different cropper sizes when I apply width of cropper till 819px it is working fine but when I apply width of cropper as 820px; cropper is displayed but image is not shown. Below is my code: