News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

delay in image visibility?

Started by deemery, February 17, 2025, 10:22:34 AM

Previous topic - Next topic

deemery

I'm a new (deputy) administrator on a forum using 2.1.4.  A lot of the activity on our forum revolves around images.  I've noticed when a new post with an image placed in-line is created, there's a (sometimes significant) delay before viewing that post will show the image.  Clicking on the image's location produces a "not found" message.  Eventually though, refreshing the page will show the image.

So it's my sense that the software is doing some background post-processing of images, after a post is created.  Is that correct?  Can someone describe what's happening?  Are there any administrative settings that would reduce that delay?

Thanks in advance.

dave

Aleksi "Lex" Kilpinen

SSL proxy can cause a one time failure, some server caches can delay the resolution of that failure. Can't really think of many other explanations.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Antechinus

If it is only happening with new posts (so that the images are not already cached in the browser) and if the images are large, it can just be a slow host and/or slow internet connection taking time to download the image to the browser.

Are your users uploading photos straight from their phones? If so, they can often be inconveniently large in size.

deemery

Well, I have fiber to the house (capped at 100mb), and I see this.  It's usually with new posts.  That's what made me think there's some post-processing happening somewhere. The delay period from posting to when the pictures actually show up is in minutes.  I'm not sure why browser caching would have any impact on this, particularly when clicking on the photo itself generates a "not found" error.  (That tells me the browser went back to the server looking for the image...)

dave

Advertisement: