RJS appear once images loaded

Hi Everybody,

I have a simple RJS file which replaces some content with a bunch of
photos like so;

page.replace_html 'photos', :partial => 'photo_list'
page['spinner'].hide
page.visual_effect(:appear, 'photos')

Has anyone got a simple method of not firing the second line onwards
until the images have been loaded by the browser?

At the moment the :appear fires before the images are loaded so they
don't fade in.

Thanks
Steve