Questions tagged [jcrop]

Jcrop is the quick and easy way to add image cropping functionality to your web application. It combines the ease-of-use of a typical jQuery plugin with a powerful cross-platform DHTML cropping engine that is faithful to familiar desktop graphics applications.

Jcrop is the quick and easy way to add image cropping functionality to your web application. It combines the ease-of-use of a typical jQuery plugin with a powerful cross-platform DHTML cropping engine that is faithful to familiar desktop graphics applications.

Resources

Feature Overview

  • Attaches unobtrusively to any image
  • Supports aspect ratio locking
  • Supports minSize/maxSize setting
  • Callbacks for selection done, or while moving
  • Keyboard support for nudging selection
  • API features to create interactivity, including animation
  • Support for CSS styling
  • New: Experimental touch support (iOS, Android, etc)

Cross-platform Compatibility

  • Firefox 2+
  • Safari 3+
  • Opera 9.5+
  • Google Chrome 0.2+
  • Internet Explorer 6+

Documentation Archive

Jcrop is free software released under MIT License.

547 questions
0
votes
1 answer

JQuery JCrop Image MVC 4 Razor Fails

I am trying to implement the image crop feature for my MVC application. I am following this tutorial: http://www.askamoeba.com/Opensource/Opensourcedetail/132/Crop-Resize-Upload-Images-in-C-MVC3-MVC4-using-Jquery-Razor I am using this library:…
user1261710
  • 2,539
  • 5
  • 41
  • 72
0
votes
1 answer

Cropping Multiple Picture using JCrop

I'm using JCrop for cropping of images. JCrop is an image cropping plugin. A page contains 3 images to be cropped. This is how I initiliaze an array for jcrop: var jcrop = []; then I have: $('img.picture').each(function(){ imgcrop = $(this); …
JR Galia
  • 17,229
  • 19
  • 92
  • 144
0
votes
1 answer

jQuery Jcrop and PHP not actually cropping the image in IE9 only?

I am having a weird bug with this script and I'm not sure where to go with it now. The user uploads an image and are then given the option to crop it. Once they crop it, PHP should resize the image and store it. This script works fine in IE8, IE7,…
ihateartists
  • 328
  • 4
  • 17
0
votes
1 answer

imagecopyresampled issues...dimensions not quite right

I'm having an issue cropping an image and thought perhaps someone out there could help. Basically, I am using jCrop to crop an image to a specified x, y, width, height and am using the following on the back-end to process the image:
sdover102
  • 124
  • 1
  • 12
0
votes
1 answer

How Can I set the aspect ratio to unconstrained ratio using papercrop gem?

I just want to make the aspect ratio unconstrained so the user can select whatever dimenstion needed for the uploaded photo. The default is 1:1. so How Can I set it to be just like this demo
Azzurrio
  • 1,330
  • 1
  • 17
  • 35
0
votes
1 answer

How to reset the Jcrop plugin? I.e. How to allow changing the source of the target image?

The application I'm working on allows users to add an unlimited number of images onto a viewport. With those images, a series of operations are allowed: resize, drag, rotate, and crop. For the cropping feature, I'm using the Jcrop plugin. When…
Andrei Oniga
  • 8,219
  • 15
  • 52
  • 89
0
votes
1 answer

Cropping image in PHP imagecopyresampled - squashing instead of cropping

I am using jCrop to crop an image. This code was working in another page before, but when I implemented it for a different page it seems to be playing up. When I run this, the code pics up the original image, squashes it down and then fits the…
Chris
  • 25
  • 1
  • 8
0
votes
1 answer

JCrop + Prevent Click Propagation

I'm using jcrop and attaching it to the last I also have a click event attached to the first div with id="photoCropContainer"
Adam
  • 19,932
  • 36
  • 124
  • 207
0
votes
1 answer

Getting Image Filename from POSTED header('Content-type: image.jpeg')

I'm using Jcrop to allow me to crop an uploaded image to be a users avatar. Essentially I'm having trouble with getting the image info from the 'Content-type: image/jpeg' header once the image has been cropped and posted using this form:
Dan
  • 977
  • 6
  • 16
  • 31
0
votes
2 answers

JCROP Reset Aspect Ratio when changing images

I am using Jcrop to allow my users to crop an image before loading it into the next form. I load a stack of images in a JS array from the DB so they can scroll through images quickly. When i load a new image into JCrop it screws up the aspect ratio.…
Chris
  • 25
  • 1
  • 8
0
votes
1 answer

cannot get jcrop object for release() on ajax jquery

Goodmorning everyone, i fighting against this problem for now 3 hours and i can't find a way to win XD i have an ajax upload that on success will open a twitter bootstrap modal window that will load the image, initialize the jcrop and then on close …
Aliceiw
  • 420
  • 5
  • 19
0
votes
2 answers

maintaining aspect ratio

I am working on an image cropping tool at the moment, the image crop tool comes from jCrop, what I am trying to is make the image the user takes the crop from smaller than the original uploaded. Basically if uploads a landscape image I need to make…
Udders
  • 6,914
  • 24
  • 102
  • 194
0
votes
1 answer

Jcrop with backbone/jquery

I am working with jquery and I want to implement Jcrop for my project. But in all the examples I see, it is implemented in php. I am not so good at php. Can someone help me out in how to use Jcrop with JQuery? Thank you.
Pragya
  • 161
  • 1
  • 1
  • 6
0
votes
0 answers

Ajax is updating all attributes on a cropped image, therefore reprocessing the image without the cropped dimensions

I'm cropping images with carrierwave and Jcrop. The model that holds the image is called Item and the field that stores the image is called cover. The cropping is working well. The problem is to do with an ajax action for voting for the item. Each…
Dol
  • 944
  • 3
  • 10
  • 25
0
votes
1 answer

jcrop is not working on internet explorer 8

I am using Jcrop to crop images in my web-application. It works great on all browsers (IE9, FF, Chrome, Safari) except IE8. Specifically, 8.7.6 which ships with Windows 7. I am using Jcrop v 0.9.9. In Firefox where it works.I see a structure a DOM…