Keyword

Large Image Uploads to K2 Article

  • Jacqueline
  • Jacqueline's Avatar Topic Author
  • Offline
  • New Member
More
4 years 5 months ago #173430 by Jacqueline
Large Image Uploads to K2 Article was created by Jacqueline
I have been having an issue where if I attempt to upload a large image to a K2 article it will post the article without image and return a blank page.

What I mean by a large image is anything 3000 x 3000 pixels or larger. I have tested this several ways by attempting to upload jpg, png and tiff images ranging in size from a couple hundred k to 4.31 mb being the largest of the test images. Each of the images are all over 3000 x 3000 pixel. When attempting to upload over that 3000 x 3000 mark the article will post to the site without an image but instead of returning to the control panel or add item I am presented with a blank screen.

In testing I have set error logging to maximum on the site yet when presented with the blank page after clicking save there are no errors present. The blank page presents itself regardless of image type within seven to eight seconds.

If I reduce the size of the images under the 3000 x 3000 mark the images will upload with no issues.

My PHP config is as follows:

System Memory: 128 mb
Max Execution Time: 90 seconds
Post Max Size: 32 mb
Upload Max File Size: 128 mb

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #173433 by JoomlaWorks
Replied by JoomlaWorks on topic Large Image Uploads to K2 Article
Any errors will be logged in your server either way. So when this happens again, look for any error_log files are the root of your site for possible indications.

In any case, perhaps a 128M memory_limit is low if the site has decent traffic. Bump it to 160M and then 256M if that doesn't work out.

And by the way, it's good practice for post_max_size to match upload_max_filesize. So make them 128M as well.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum