Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly sized image doesn't appear on (HTML5 History) refresh #3

Open
paulrobertlloyd opened this issue Jul 13, 2011 · 1 comment
Assignees

Comments

@paulrobertlloyd
Copy link

Scenario: The first page has a responsive image. The correctly sized image loads. Click on another link (which refreshes only part of the page using the HTML5 history API). Returning to the original page via the back button or other history state change.

Result: Smaller sized image appears.

Is there a way to instigate another check whenever a responsive image is requested in this way?

@ahume
Copy link
Owner

ahume commented Jul 28, 2011

Heh, yeah.

So we need a way of saying: we're adding a bunch of new images, so set the cookie again, and then when they've loaded unset it and run the checks again. Should be doable, but needs some thought which I will begin on now.

@ghost ghost assigned ahume Aug 21, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants