rtp-ch / rtp_imgquery

Responsive and fluid image techniques for TYPO3
Other
28 stars 0 forks source link

Page reload in Safari hides image #16

Closed koenvannuffelen closed 11 years ago

koenvannuffelen commented 11 years ago

Issue exists only in Safari (tested version: 5.1.7 on Windows7 desktop) If you open a page with a (menu) link, you see the image as expected. Perfect. When you reload the page, the image disappears. If you open the page with the (menu) link again, you see the image as expected again.

Also checked in Firefox, IE, Opera & Chrome and none of them has this behavior.

simontuck commented 11 years ago

Can you provide me with a link to the issue?

koenvannuffelen commented 11 years ago

Hi Simon,

Thank you for your quick response. Sorry for my late answer, but the website was not available on-line yet.

The link is: http://togo.obiwebs.be/index.php?id=67 If you enter this in safari, you don't see the image. If you click on the 'Link to own page' link, you see the image. If you reload the page again it's not visible anymore, and so on. :-)

So by link in menu, on page, etc, you can see the image. And with initial load with url in browser or reload of the browser, you can't see the image.

As said this only occurs in Safari as far as I know. (tested on recent IE, FF, Opera & Chrome)

If you need more information, I'll be very glad to provide this.

Best regards, Koen Van Nuffelen

rob-ot-dot-be commented 11 years ago

It's ihmo a safari cache related issue. cache handling and redrawing the dom when hitting the refresh button does not the same as reloading the complete page on an http request.

you mention a refresh does make the image disappear ( normal refresh ) but the image appears when clicking a link ( http request ).

have a read here: http://www.stevesouders.com/blog/2011/06/27/unexpected-reloads-in-webkit/

so, not a solution, but i hope a good push in the right direction.

grtz

Rob

On 25 Sep 2013, at 01:26, koenvannuffelen notifications@github.com wrote:

Hi Simon,

Thank you for your quick response. Sorry for my late answer, but the website was not available on-line yet.

The link is: http://togo.obiwebs.be/index.php?id=67 If you enter this in safari, you don't see the image. If you click on the 'Link to own page' link, you see the image. If you reload the page again it's not visible anymore, and so on. :-)

So by link in menu, on page, etc, you can see the image. And with initial load with url in browser or reload of the browser, you can't see the image.

As said this only occurs in Safariasfar as I know. (tested on recent IE, FF, Opera & Chrome)

If you need more information, I'll be very glad to provide this.

Best regards, Koen Van Nuffelen

On 22/09/2013 16:04, Simon Tuck wrote:

Can you provide me with a link to the issue?

— Reply to this email directly or view it on GitHub https://github.com/rtp-ch/rtp_imgquery/issues/16#issuecomment-24882632.

Koen Van Nuffelen Obiwebs BVBA

Daniel Herreynslaan 38 2610 Wilrijk (Antwerpen)

tel: +32 (0) 488 27 40 40 mail: koen@obiwebs.be visit: www.obiwebs.be — Reply to this email directly or view it on GitHub.

simontuck commented 11 years ago

Hi Koen, The image is actually in the DOM, so the extension is working as expected. I think this is a CSS issue. I noticed that when the inline image style is disabled the image appears. You could try disabling the inline style as described here. Best, Simon