Hi Suman,
I dont know your exact requirement but refreshing it every second will increase unnecessary load which is not advisable.
But to answer your question, one way is to recursively call the javascript function which renders the image on your page.
Thanks & Regards,
Anuj