Problem/Motivation
Custom made Image Effects based on the FocalPointEffectBase class are not displayed in the preview page.
Steps to reproduce
- Create custom ImageEffect that extends FocalPointScaleAndCropImageEffect.
- Create image style with new effect.
- Create media image and look for the image style in the preview page (nowhere to be found)
Proposed resolution
Fix todo in code base.
Remaining tasks
- Create patch
- Review patch
User interface changes
None
API changes
Extra parameter in Preview Page Controller
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 3311912-6.patch | 2.84 KB | dinazaur |
| #2 | 3311912-2.patch | 2.78 KB | tessa bakker |
Issue fork focal_point-3311912
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
tessa bakkerComment #3
rajeshreeputraChanges looks good to me.
Comment #4
spadxiii commentedLooks good and still applies to 2.x :)
We've been using this for almost a year in production now
Comment #5
martijn de witComment #6
dinazaur commentedRe-roll for 2.1.
Since #2997675 was merged but no one updated effects array, I changed the status to Major because users can't see a preview of the plugin (
focal_point_crop_by_width) that is provided by this module.Comment #7
tessa bakkerComment #9
rajeshreeputraWill merge and release this weekend. Thanks for working on this!!
Comment #11
rajeshreeputraMerged, release to follow shortly!