Added deploymentid to the thumbnail image query.