API:Allimages/Sample code 2