Added API method for image thumbnails