CMS MADE SIMPLE FORGE

SmartImage

 

[#12491] filter_* parameters not working on {si_convert} block plugin

avatar
Created By: Matt Hornsby (DIGI3) (DIGI3)
Date Submitted: Fri Oct 29 12:58:51 -0400 2021

Assigned To:
Version: 1.0
CMSMS Version: 2.2.15
Severity: None
Resolution: Accepted
State: Open
Summary:
filter_* parameters not working on {si_convert} block plugin
Detailed Description:
When using something like {si_convert
filter_greyscale=1}{$content}{/si_convert}, no filter is applied. The parameters
max_width and max_height do work as intended.


History

Comments
avatar
Date: 2023-03-03 14:14
Posted By: Fernando Morgado (JoMorg)

Appears to be solved as it seemed to be an effect from the same bug that was
triggering bug #12570; I'll leave it open though, pending further testing
      
avatar
Date: 2023-03-05 10:16
Posted By: Matt Hornsby (DIGI3) (DIGI3)

Fix confirmed, thanks!

Note for potential improvement:
If the filter_foo is not a valid parameter, it ignores all other parameters such
as max_width.
e.g. {si_convert max_width=100 filter_foobar=1}{$content}{/si_convert} wont' do
any processing at all, and doesn't log any errors.
      
Updates

Updated: 2023-03-03 14:14
resolution_id: => 6