I have the problem that after I upload new images to my Kirby instance, when I first load the page with the images in question, most or all of them do not show correctly. Instead the “broken image source” icon is displayed.
Today I checked out the new Kirby demo and found the same problem there. When I create a new demo instance on first load not all images are loaded correctly. From the second load onward everything works fine.
I realize that there are already other topics in this forum which deal with similar problems. However none of them solved the problem for me. So could you please fix the problem on the demo server and post the solution? I hope this will also fix the problem for me.
Have you also tried with another browser? I played around with the demo uploading images and can’t reproduce your issues, not even when uploading multiple images at once. So wondering what might be causing this and trying to rule out things.
@texnixe I just tried with Chrome 79.0.3945.130. The first time I opened a new demo instance in an incognito window all images showed correctly. Afterwards I closed the incognito window, opened a new one and opened a new demo instance I got similar results as in Firefox:
@mshoestrng Ok, I could reproduce it once now when the demo took a while to load. Images in the demo are coming from a CDN, but if we still have a bottleneck, we certainly have to look into this.
What sort of error do you get in your network tab?
I suspect that this issue in the demo is caused by the CDN, not by Kirby itself. I have forwarded this thread to @bastianallgeier so that he can take a look.
@boinsn I clicked through quite a few pages and couldn’t see it happen for the moment. Also, the images are rather small and by now, I guess most of the thumbs should exist in the media folder.
Don’t know what to do or advise at the moment. Maybe also check browser console when this happens or PHP error logs.
Thanks @texnixe, I checked the error logs but they are empty. It’s strange as I checked the site now everything seems to work fine. I keep an eye on the website.