i have downloaded the 2 js files into libraries folder. the paths are:

sites/all/libraries/jcrop/jcrop.js
sites/all/libraries/json2/json2.js

but still can not enable the module, help pleasure

    Could not find the json2.js file, check your install
    Could not find the json2.js file, check your install
    The Jcrop plugin is missing. Download and extract it in your sites/all/libraries directory. (Currently using EPSA Crop : Jcrop Not found)
    The json2.js file is missing, you can download it here and put it in your sites/all/libraries directory. Don't forget rename the downloaded folder into json2. At the end, you should have something like this sites/all/libraries/json2 (Currently using EPSA Crop : json2.js Not found)

Comments

yvmarques’s picture

Status: Active » Closed (works as designed)

This is due to Jcrop directory, you should check the case of the name. Its case sensitive.

Regards,

-- Yvan

DigitalFix’s picture

Cross-posted to https://drupal.org/node/1834622

Excellent module; the only one (as far as I know) that supports scaling an image up to a set crop size.
The documentation and messages, however, are TERRIBLE (and should probably be considered a issue worth addressing).
For the record, if you're using this with the libraries module, the full, case-sensitive paths to the relevant .js files are:

  • Jcrop: sites/all/libraries/Jcrop/js/jquery.Jcrop.min.js
  • json2: sites/all/libraries/json2/json2.js

Note that Jcrop/ should have js/ and css/ sub-directories.
Also note, after I fixed the paths, I still couldn't enable the module and kept getting the same error messages until I cleared the caches (admin/config/development/performance).
My setup is:

  • Drupal 7.24
  • Epsa Crop 7.x-2.2
  • jquery.Jcrop.js 0.9.12
  • json2 2013-05-26
patoshi’s picture

same issue. this happened multiple times when i start a new project. this prerequisite should be posted on the project page of epsacrop. specifically letting people know that they need the files in the following directory structure:

Jcrop: sites/all/libraries/Jcrop/js/jquery.Jcrop.min.js
json2: sites/all/libraries/json2/json2.js