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

Change of "src" attribute does not change image in IE8 - in IE rotated object has to be visible to be able to rotate #44

Open
GoogleCodeExporter opened this issue Apr 14, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create <img> that points to some image and is wrapped in <a> (<a> has 
position:absolute) + add some button or link that will call some JS later
2. Rotate <img> on page load as usually, i.e. $("img").rotate(10);
3. Then click on button, or whatever, that will call JS which will change "src" 
attribute of <img> to different image path.

What is the expected output? What do you see instead?
The image is expected to be changed to new path, keeping rotation, styling, etc.
Instead, in IE8- you see the same old image. In IE9, FF3+, Chrome you see new 
image.

What version of the product are you using? On what operating system?
Tried 1.8 and 2.1. Windows 7/XP.

Please provide any additional information below.
Imagine it in situation where you have a gallery of thumbnails with one full 
sized rotated image and by clicking a thumbnail it's switching with the full 
sized one :)

Original issue reported on code.google.com by Czech....@gmail.com on 25 Aug 2011 at 1:24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant