MG 2.2 some pictures do not have a thumbnail in the media section

Yep that would likely be hitting the maxImageResizePixelCount value documented here:


9248 * 6936 = 64144128 which far exceeds the default limit of 20000000.

You would need to set something like the following in src/config.php:

PHP:
$config['maxImageResizePixelCount'] = 70000000;

Note that resizing such large images could cause memory exhaustion errors which is why the limit is at 20000000.
 
Hopefully you have a maximum width / maximum height set up in your permissions so that the very large images get resized down to a much smaller size. That massively reduces the file size. So the 9MB image will hopefully become < 1MB if you're resizing it on upload.

That will also need the maxImageResizePixelCount config option increasing as above but as long as there are no memory limits being hit, the resulting file should be much smaller.
 
Hopefully you have a maximum width / maximum height set up in your permissions so that the very large images get resized down to a much smaller size.
Hello, do you speak about settings in ACP >> CONFIGURATION >> BASICS OPTIONS >> ATTACHMENTS ?
  • is this setting valid in all xenforo? ie also in the Media gallery?
  • If i use these settings : 1980 x 1200 would that prevent a 1200 x 1980 photo from being accepted? (portrait vs landscape)
Thanks.
 
Top Bottom