Attached image sometimes not displayed completely
-
If opening an attached image like
example.com/?wpas-attachment=123or similar, the image is sometimes not displayed at all or only a part of it.Images are jpg 1280×960, about 200-300 KB.
Any idea what could be the reason for this?
-
Hello:
hmmm….generally, when only part of an image is displayed its because of some sort of connection issue between the webserver and the browser client. If the image is not displayed what displays in it’s place – just a white screen or is there an icon displayed in its place? If an icon displays then it usually means the image wasn’t found at all. If the screen is blank/white it generally means that the image was found but couldn’t be rendered for some reason.
I hope this helps somewhat.
The same attachment is sometimes not displayed at all or only a part of it. No icon. Image is ok on server. Every reload has different effect.
Happens only if displayed via
example.com/?wpas-attachment=123Does not happen if displayed via full URL like
example.com/wp-content/uploads/awesome-support/ticket_XXX/image.pngSo directly accessing it bypasses most of the php processing. That’s interesting. Is this happening on a shared hosting plan by any chance? If so, can you let us know which one?
Thanks.
It’s a “Strato PowerWeb Business” plan which is not sold any more, comparable to “Strato PowerWeb Pro” which is currently available. “Strato” was owned by Deutsche Telekom AG, biggest german telecom provider, and was sold to “United Internet 1&1” which is also known as 1and1.com in December 2016. The business plans of Strato are pretty good, runing many sites there, never had a problem like above before. Not sure if it is plugin related, don’t get any errors in any error log.
Sidenote: Currently it is possible to view attachments by “guessing” filenames, which takes a while, but still is possible. You should probably add some
Deny from allrules in a.htaccessinuploads/awesome-support/folder, similar to some backup plugins. Requires lots of testing though, for all kind of servers…
The topic ‘Attached image sometimes not displayed completely’ is closed to new replies.