API:Allimages/Sample code 1