Media Library and Image Files
-
Hi, I have a site that I regularly upload many images to. It is a property management site and when they take on new properties, they get the togs round to take around 30/40 images and then I create the page, gallery and upload everything.
So, that was just by way of background. Recently, we took on a new property and the owner had some images already taken. So, I tried to upload these via the media loader dragging all 31 images onto the loader. Of these 16 uploaded perfectly well and 15 did not. I had some error messages including
“Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page” and
“The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2,560 pixels”
Upon examination of each image (clicking on the thumbnail – which was a true representation of the image) and the server had the meta data of the image but just showed a placeholder style icon instead of the actual image. One sample of the meta dat that it displayed was
Meta Data from Media Library
Uploaded on: 30 April 2022
Uploaded by: scd_wardy
File name: 02-Lower-terrace-and-views.jpg
File type: image/jpeg
File size: 888 KB
and all this info corresponded with the details from my PC.I then added all the images to an Envira Gallery, created a page (which I tested/viewed first) and then I added the gallery to the page and saved. I then received the following error “Update failed NOT a valid JSON response”. The page then seemed a touch confused. If I tried to save then I got the error but if I tried to leave then I got the “Changes have not ben saved” message. So, I exited by Viewing the page. Then I got another error:
“Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.”
Then, I messed around for a while, but eventually I removed the 15 images with only placeholder images (but perfect thumbnails) from the gallery. Re-editing the page and redoing the gallery removed the JSON response and the 503 errors, but I was left with 15 images that I still needed to upload.
So, I tried several times and then edited the images and saved them as .PMG files. All 15 of them. More cautiously, I uploaded them one at a time and inspected each one. I did get the “Server can’t process the image error” but upon examination the image had seemingly loaded and the image was displayed properly. Buoyed by this flirtation with success, I then added them to the gallery. Back to the page and the same JSON response and 503 errors.
So, I admitted defeat and removed that gallery from the page (it still exists within the gallery list) on the server (perhaps I should say that just viewing the gallery from the Envira page ALSO causes the 503 error).
So, apologies for the lengthy post but I wanted to put as much info as possible.
I should also say that I have been asking my hosting company for assistance and they are not providing anything remotely helpful. They have just done:
increased file size upload limit (one was only 888KB) to 128MB
suggested that I removed spaces from the file name (I did – no use)Many thanks for reading this far and if you have any credible suggestions then I would love to hear them.
- The topic ‘Media Library and Image Files’ is closed to new replies.