automatically refresh images after they have finished loading