API: Adding thumbnailing support to prop=imageinfo