Why dont you create an
HttpHandler
for the images. Just put the image file bytes from the database and write it to response stream.
From the client side place a javascript which will call the images one by one using
setInterval("changeImage()", 1000)
Inside your function changeImage() put appropriate path which invokes the Handler.
Your Image will be called automatically when document.getElementById(Img).src is modified through javascript.
;)