When on the spotlight widget the crop button does nothing.

Comments

dsnopek’s picture

Hrm! This is something I tested extensively when I was implementing the cropping stuff. But I can confirm that I'm now also seeing this problem. :-/ It could have been one of the changes I did after finishing the cropping functionality.

It looks like the Javascript isn't being loaded. It appears to only affect new Spotlight widgets. If you create the Spotlight and save it - then edit it again, the Crop button will work.

dsnopek’s picture

I spent a bunch of time working on this. I was able to implement some hacks that got it cropping, but then would break the proportional selection. This is, unfortunately, tied somehow to this issue in manualcrop:

#2237835: Drupal.settings.manualcrop.styles gets messed up if there are two crop tools on the same page

I think we'll probably have to hack manualcrop even more to get this working...

dsnopek’s picture

Title: Crop on spotlight widget does nothing » Crop on spotlight widget does nothing when Spotlight is new

  • Commit b55a383 on 7.x-1.x by dsnopek:
    Update Panopoly Widgets for #2251989: Crop on spotlight widget does...
dsnopek’s picture

Status: Active » Fixed

In order to get Panopoly 1.5 out (which is a critical security release), I've removed the "Crop" tool from the Spotlight widget altogether. But I've made a new issue to add this feature back:

#2255095: Add "Crop" tool to Spotlight widget

Status: Fixed » Closed (fixed)

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