-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jCrop Error #7
Comments
That means that $image does not exist. You could try to increase the defer value from 10 to something higher in line 55 of assets/components/imageplus/mgr/js/imageplus.jquery.imagecrop.js Looking for a better solution to be sure that the element exists. |
Thanks for the info, I've managed to get it working! It seems there was a conflict with the Asset Manager extra (whoops! forgot it was installed). Would it be possible to make Image+ run in a no-conflict mode to prevent this? |
Seems that $image has to be put into a closure then. |
There is also a Problem with MarkdownEditor Plugin, same error as above. It also use Jcrop. |
Will be fixed in the next release. |
Can't do much here. That are stupid jQuery and jQuery Plugin version issues. Asset Manager uses jQuery in another version and jCrop in the same version but with different file paths and filenames (jcrop.js vs. jquery.jcrop.min.js). MarkdownEditor uses a combined dependencies.js with another jQuery version inside that kills all jQuery scripts registered before. It is more the fault of the MODX regClientScript system that does not allow dependencies and version checks. |
Solved with the hint of @theboxer by jQuery.noConflict |
Hi, I've installed the latest version of Image+ (2.3.2) on MODX 2.3.3 (clean install) and I'm receiving the following error when trying to crop image using Image+
This is running on a local machine, using WAMP 2.4, PHP 5.4.12, pThumb 2.3.3
Thanks
The text was updated successfully, but these errors were encountered: