in reply to Animating images from database

Slightly different take on the problem - if you want to publish an animation of the last 24 hours weather then convert your JPGs into a an animated GIF (using imagemagick or similar). This is the way that I have seen it done on public meteorology sites.

Checkout the convert method. It looks like you will be able to convert a number of jpegs to gifs and animate them.