a-ok Posted April 24, 2018 Posted April 24, 2018 What version of PW does modifying the imageSizerOptions within config.php work? I've tried applying it in an older install and it throws a server error: Uncaught WireException: Method Config::imageSizerOptions does not exist or is not callable in this context $config->imageSizerOptions('sharpening', 'none'); $config->imageSizerOptions('quality', 100); $config->imageSizerOptions('defaultGamma', -1); I've used this on 3.0+ but this is 2.7.1
kongondo Posted April 24, 2018 Posted April 24, 2018 Since at least 2.4.x. However, some properties like defaultGamma since maybe 2.5.x.
a-ok Posted April 24, 2018 Author Posted April 24, 2018 19 minutes ago, kongondo said: Since at least 2.4.x. However, some properties like defaultGamma since maybe 2.5.x. Hmm so no reason it shouldn’t work then?
dragan Posted April 25, 2018 Posted April 25, 2018 Maybe have a look here: https://github.com/processwire/processwire-issues/issues/409 (1st reply - array_merge)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now