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
Comment #1
yvmarques commentedThis is due to Jcrop directory, you should check the case of the name. Its case sensitive.
Regards,
-- Yvan
Comment #2
DigitalFix commentedCross-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:
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:
Comment #3
patoshi commentedsame 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