Add API for thumbnail generation of URI