Posted by point on March 18, 2008 at 1:10pm
Jump to:
| Project: | Imagefield Crop |
| Version: | 5.x-1.0 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
| Attachment | Size |
|---|---|
| crop.jpg | 62.56 KB |
Comments
#1
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.
#2
I committed a fix, hopefully the JS code is sane..
#3
Automatically closed -- issue fixed for two weeks with no activity.