If image field with cropping option is set as collapsible or is set inside collapsible group, the content of cropping area displays wrong part of the original picture and it totally collapses after trying to resize it.

CommentFileSizeAuthor
crop.jpg62.56 KBpoint-1

Comments

yhager’s picture

Title: Cropping area collapses » Fails when inside a collapsed box (JS calculations problem)

The cropping area calculation is done on javascript and base on the position of the cropping area. When the page is loaded with this collapsed, the calculation fails.
If someone with good javascript skills reads this, please help me to understand what event happens when the user expands the collapsible box, so I will know to bind the calculations to that event.

In the meanwhile, I have removed this option from the widget settings, and added this as a limitation of this module.

yhager’s picture

Status: Active » Fixed

I committed a fix, hopefully the JS code is sane..

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.