#1024: API updated for images.