Jump to content
You are viewing a curated collection of the most significant posts in this topic with an estimated read time of 1 minute. The full topic contains 27 posts with an estimated read time of 9 minutes.

Featured Replies

Posted

We have upgraded 2 days ago to 4.6.8 and since then we've noticed that some users are unable to upload images like they were used to.  I've had a look at our image settings and they are what they've always been

1635332751_Screenshot2021-11-08at17_55_21.thumb.png.0f0a38627bd0c080fb50d97c67a80be8.png

and if I try to upload a JPEG of 5000x3335, it resizes it just fine to the maximum (ratio) size and shows the preview

712108290_Screenshot2021-11-08at17_58_21.png.0c0d645ef50daf1b44b81ab7020f5a58.png

If I try a PNG of similar (4816 × 4784) size, it fails

82734969_Screenshot2021-11-08at17_59_50.png.745ab73342a16a7bc6b6b37ae5e3641f.png

 

I then tries resizing the PNG to smaller size and it fails at 3000x2000, but at 1500x1000 it works?!?

1837910272_Screenshot2021-11-08at18_01_27.png.ed3d9ca39a6214b63bdb7de3a64e4fc7.png

 

I can't seem to find what's going on here that causes those larger (dimensions, not filesize) PNG files to fail.  Anyone able to help?

 

Solved by Westfield Sports Car Club

Go to solution
  • Community Expert

Are you receiving a "-200" error or any further errors? Are you receiving any errors in your System Log? Are you using GD or Imagemagick? If any changes were made to your server, it is common that I see some hosting providers fail to install PNG delegates. That may be presented in the System Log for you to review.

  • Community Expert

GD is extremely resource hungry when resizing images and PNGs are rather large images. I would check your server error logs to see if you are running out of resources and for some reason it is simply not making it back as a "-200" error.

  • Community Expert
6 minutes ago, Westfield Sports Car Club said:

I can find no errors in the apache error log, except for a few times this one:

Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/forum/public_html/forum/system/Db/Select.php on line 498, referer: https://forum.wscc.co.uk/forum/

Note, this error only occurred 3 times today, and none assigned to my own IP address.  I however increased the memory_limit value in php.ini to 256M first, and now to 512M and with neither increased values has it mattered in regards to the uploading of my PNG test file.

 

I was hoping to see the GD error somewhere, but I've drawn a blank.

If you remove the resize settings in the ACP and upload the same file does it upload? If so, definitely something that would require more in depth review by yourself or your server administrator.

  • Community Expert
14 minutes ago, Westfield Sports Car Club said:

Set the image size to 5000 x 5000 and retried the file, but same result.

I'm the server administrator.

You'll want to set "Maximum image dimension to save" to Unlimited. 

Recently Browsing 0

  • No registered users viewing this page.