I need to animate a loading circle 1 complete round progressing with the loading of image . It should start the round when loading starts & complete one round when the loading is done.
How can I do that ?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far as I can see, this is not possible – the browser doesn’t return any live information about the loading progress of a HTML image that you could use to power an animation.
All it does return is the
loadevent that you can attach to an image. That will fire when an image is completely loaded.