So i have an odd problem. Sometimes some of the images on a page dont load. sometimes they do. Usually its only one image is missing if anything. and usually only if the user hits the refresh button. if you go to http://www.zelixy.com/user/dbunting and hit refresh a few times you should notice that every now and then one of the images wont load. But its not always the same image. anyone have any idea as to why? and what to do to fix it? Thanks in advance
I'm not sure why that's happening. If I right click on the alt text for pictures that don't show up, it gives me the correct properties (width, height, and size). Also, if I go to the image's URL, it always appears. It might have something to do with the way the HTML is being rendered. Are you using ob_start() and ob_end_flush()? Why are you doing this? Code: Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Is it that imperative that the user gets a new copy of the page every time they refresh? edit: I just noticed that when the pictures don't show up, they are actually being loaded, then they disappear. Very strange. If I disable my browser cache, the images always load. Interestingly enough, web developer toolbar seems to know what's going on: Sorry I'm not much help.
Code: Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache that is not in my code WTF!? no ob_start() no ob_end_flush() this is just a push to get the investor something to see. then it gets redone proper now im more confused then when i started.
By default PHP outputs that when you are using sessions. Have a look at the documentation for session.cache_limiter
Ah, I didn't know that about sessions. Anyway, how are you serving up the images? The HTML looks fine (although you might want to check its validation page), as does the CSS. I'm thinking PHP is somehow to blame here.
its odd when i view image information via web dev toolbar it doesnt show anything wrong. ill digg a little deeper. Is it possable that this could be a server issue?
Ok so when i use "view image information" with the web developer toolbar when there are images missing it lists the images that are "broken" 3 of the broken images listed i know are broken, but other then that the ones that are listed if i click them it shows the image thats "broken" so im really confused
For what it's worth, I havn't seen any sometimes broken images (only the three that are always broken) when viewing that page. I'm using IE7
sometimes its the first time you refresh, other times you have to do it like 30-40 times. thats what makes tracking it down such a pain. I do want to thank all of you for taking the time and taking a look into it for me. turns out this isnt the only problem we are having. turns out session values arent being passed sometimes. ill just add it to the list of WTFs