Timeline for How to Rotate image before displaying in web using JavaScript?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 21, 2013 at 8:58 | history | edited | Donovan Charpin | CC BY-SA 3.0 |
added 2 characters in body
|
| Oct 21, 2013 at 8:57 | comment | added | Donovan Charpin |
.load(), .each(), .height(), .width() are native function in jQuery. rotate is a function that I create to rotate an element and which is supported in many browser.
|
|
| Oct 21, 2013 at 8:51 | comment | added | Krichevskoy | sorry i am still newbie, in your answer, are you using jquery external function? | |
| Oct 21, 2013 at 8:04 | comment | added | Donovan Charpin |
Yes, but it's very fast, you can use animate() to create something more beautiful. You can also add display:none or visibility:hidden on all your img. And change this displaying in the each()
|
|
| Oct 21, 2013 at 8:03 | comment | added | Muthukannan Kanniappan | I doubt the speed in case of loading a thousand photo as mentioned in the question. | |
| Oct 21, 2013 at 7:56 | comment | added | Muthukannan Kanniappan | $(window).load is after all the images are loaded not when it is loading. This will work but after all the images are loaded. | |
| Oct 21, 2013 at 7:54 | history | answered | Donovan Charpin | CC BY-SA 3.0 |