Margie Posted March 8, 2019 Share Posted March 8, 2019 Hi, I've noticed that the variations of the images on my site are darker/more saturated than the originals I'm uploading, I was using the default GD and have changed to ImageMagick but that hasn't made any difference (ImageMagick is definitely installed on the server). (The site's not live yet so I have to rely on the screenshots below.) I'm exporting the images from Lightroom, using the sRGB option. When I look at the original within the ProcessWire admin it looks fine, but the variations are darker. I've also followed the advice in this post, including using Photoshop instead of Lightroom, but still haven't had any luck: $config->imageSizerOptions doesn't seem to do anything I will confirm that I'm removing all variations via the page edit screen each time I've made a change. I've added this line to my site/config.php: $config->imageSizerOptions('defaultGamma', 0.5); I've tried -1, 0.5, 4.0 - the variations are the same every time. The only thing that has made any difference is commenting out line 246 in ImageSizerEngineIMagick.module, as advised by @horst in another forum post. However, the result is then too washed out. I'd have thought setting the default gamma to -1 would have the same effect? The picture on the left is the original, as viewed in the PW admin. The middle picture is the variation visible on the edit screen, and the same regardless of what settings I place in the config file. The picture on the right is the variation visible on the edit screen, when line 246 is commented out. Am I missing something or is there a bug that's causing this config option to be ignored? Thanks! Margaret Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now