Active
Project:
Manual Crop
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2015 at 20:38 UTC
Updated:
18 Oct 2017 at 23:52 UTC
Jump to comment: Most recent
I did only a quick test, but it appears the image effects aren't calculating the dimension, hence breaking the picture module.
Comments
Comment #1
tessa bakkerDoes your setup break also without any ManualCrop image effects?
Comment #2
attiks commentedNope, you need to implement a dimensions callback, see hook_image_effect_info and return the dimensions of the derivative image
Comment #3
matthijsPlease see #1556244: Using 'manual crop' style, and leaving the minimum height and/or width fields blank results in missing image attributes.
I guess this can't be fixed until #1364670: ImageStyle::transformDimensions unable to deal with all effects. has been done.
Comment #4
matthijsComment #5
attiks commented#4 You're right, but is so people know it might break picture. Only work around is to create an explicit mapping and not use the sizes option.
Comment #6
adarkling commentedBlocker issue was resolved -- making this an active issue again.
Comment #7
BrianVu commentedDoes Manual Crop not work with the Picture Module for responsive breakpoints? My images get cropped but the Picture Module stuff is not working when i resize my screen and such...
Comment #8
chaloum commentedI get two issues. One is it can produce ages of 0px but the main one is when I crop the initial image all good, but when I come back an edit the node it delegate the image from the file system.
I then have to reopen the node, click on crop, then exit the node without saving, then the image is saved in the file system