jrac
jrac copied to clipboard
jQuery Resize And Crop (jrac) is a jQuery plugin that build a viewport around a given image permitting to visually resize an image and place a crop
hi, this is very nice library. but - it seems that it has several issues when using for example jquery 2.2.x or newer. and also jquer-ui is already at 1.12.x....
After i destroy the instance i cant get it back again,i am destroying it like this... ``` jQuery('[data-action="cancel"]').on('click', function(event) { jQuery('.coords').hide(); econaImage.jrac('destroy'); jQuery('.ui-resizable-handle').remove(); econaToolbar.show(); econaCropperButtons.hide(); }); ``` And calling it...
Hi , i am using jrac to resize and crop image using PHP, by using this example http://www.trepmag.ch/z/jrac/example/ i have used a browse button to load a new image ,...
When source image has large size, sometimes image is displayed stretched. The issue seems to be caused by the following code: ``` var $zoom_widget = $('') .slider({ value: $image.width(), min:...
Some suggestions to you that I have to implement. > image_full_size: [bool] - Set the image size equal viewport size > viewport_width: [float] - Set the viewport width > viewport_height:...
Hi trepmag, thank you for this awesome script. Loving it. I wonder if there is a setting or a solution to prevent image dragging within the viewport. Maybe you can...
Hi, I used the default css and default js configuration. In your demo it's working fine but when I try to use jrac in my CMS, I have this zoom...
The documentation states that fields are called viewport_content_x and viewport_content_y but the source code says that it is in fact viewport_content_left and viewport_content_top Please fix this because if you do...
Hello, Can anyone please help me. I need to be able to replace an image using JQuery i.e. $('#image').attr('src', 'http://www.somewebsite.com/someimage.jpg'); I gave the image element an id of 'image'. But...
Hi, I have a tabbed structure. Every tab has jrac viewports. In the first tab everything is fine. But on other tabs there is no image. I have looked at...