Closed ghost closed 6 years ago
@BWPanda how did you change the machine name -- in the database directly?
No, you can change the machine name using the 'Edit' link to the right of the 'Image style name' field. Note however that this only works for image styles you've created yourself, not the core ones.
Got it. Yes, then we'd better account for it! Thanks.
When an image style uses the 'Manual Crop: Reuse cropped style' effect, and the base image style it references is renamed (the machine name is changed), you get a white screen (error) when trying to edit the image style and the following error in the log:
Adding this code immediately after the
$style = image_style_load($data['reuse_crop_style']);
line in themanualcrop_reuse_effect()
function fixes it: