3

I want to implement jquery.Jcrop.js in a custom extension.

Because this look great! Jcrop

And it's bundled with Joomla, located under:
media\system\js\jquery.Jcrop.js

And it's used in:
administrator\components\com_templates\views\template\tmpl\default.php administrator\templates\hathor\html\com_templates\template

But it looks like it's not working when used in a template. See image.

enter image description here

Does anyone have an idea how to implement / or where it is used in a Joomla extension?

Regards,

Gosling

2

This error I believe is due to the following console log error:

SyntaxError: missing : after property id

trueSize: 469,159]

It currently a bug in Joomla. I'll have a quick look through the code to see if there's a fix, but it might be an idea to report this bug to the Joomla-CMS repository on Github.

Update:

I've fixed it. See the Pull Request

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.