• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

MG 1.1 Photos in high resolution

gotski

Active member
#1
Hello, sometimes, does not create thumbs for high-resolution pics.

upload_2017-3-6_9-31-41.png

What could be the reason for this?

Thank you.
 

Mike

XenForo developer
Staff member
#2
If it's only high resolution images, it'd likely be the $config['maxImageResizePixelCount'] setting. This defaults to ~20 megapixels; anything above that won't have any image processing done to it.

You can adjust this in config.php by setting:
Code:
$config['maxImageResizePixelCount'] = 25000000;
(or whatever value is appropriate, with ~1 million being 1 megapixel).

Note that larger images require more memory to process. You may need to increase your PHP memory_limit to avoid errors.
 

gotski

Active member
#3
If it's only high resolution images, it'd likely be the $config['maxImageResizePixelCount'] setting. This defaults to ~20 megapixels; anything above that won't have any image processing done to it.

You can adjust this in config.php by setting:
Code:
$config['maxImageResizePixelCount'] = 25000000;
(or whatever value is appropriate, with ~1 million being 1 megapixel).

Note that larger images require more memory to process. You may need to increase your PHP memory_limit to avoid errors.
Great Mike! Thank you, it was help me.

changed maxImageResizePixelCount to 3ml.
 

Mike

XenForo developer
Staff member
#4
Just to make sure that wasn't a typo, I assume you mean 30 million? 3 million is quite a bit smaller than the default.