Postponed
Project:
Focal Point
Version:
7.x-1.x-dev
Component:
Image Presets
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2014 at 07:19 UTC
Updated:
24 Jul 2014 at 08:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
roderikWell.
Just after uploading the above, I thought "but if we are implementing hook_image_effect_info_alter()... then we should probably assume that someone else could have implemented that hook too!"
That means we don't blindly call the original callbacks, but we check if they're altered - and call those.
Not a problem, but unfortunately it makes the code harder to read.
Comment #2
roderik...and then I discovered some really confusing info. Some of my altered image styles were suddenly not taking the Focal Point into account anymore!
After some debugging/thinking, it seems to me that this is a Features bug that should be solved first, before hook_image_effect_info_alter() can be used reliably. (By any module, not only this one.)