Closed (fixed)
Project:
Image Resize Filter
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jul 2018 at 00:07 UTC
Updated:
18 Mar 2019 at 10:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
indigoxela commented@jdschroeder - good catch.
But the settings aren't respected yet, when processing.
That's because of
!in_array($location, $settings['image_locations']), which only checks for existence but not if it is set to "false".Attached is a patch, which takes care of that, combined with your fix.
Comment #3
indigoxela commentedPatch #2 was a bit too sloppy with comparison, $location could be "unknown".
Attached is an improved patch combining jdschroeder's work and mine.
Comment #4
mohammed j. razemMakes sense. Thanks @indigoxela and @jdschroeder for patch.
I'll do further tests and commit.
Comment #6
mohammed j. razem