@@ -1425,7 +1425,7 @@ def upload_thumbnail(self, entity_type, entity_id, path, **kwargs):
14251425 :returns: Id of the new attachment
14261426 """
14271427 return self .upload (entity_type , entity_id , path ,
1428- field_name = "thumb_image " , ** kwargs )
1428+ field_name = "image " , ** kwargs )
14291429
14301430 def upload_filmstrip_thumbnail (self , entity_type , entity_id , path , ** kwargs ):
14311431 """Convenience function for uploading filmstrip thumbnails.
@@ -1443,7 +1443,7 @@ def upload_filmstrip_thumbnail(self, entity_type, entity_id, path, **kwargs):
14431443 "higher, server is %s" % (self .server_caps .version ,))
14441444
14451445 return self .upload (entity_type , entity_id , path ,
1446- field_name = "filmstrip_thumb_image " , ** kwargs )
1446+ field_name = "filmstrip_image " , ** kwargs )
14471447
14481448 def upload (self , entity_type , entity_id , path , field_name = None ,
14491449 display_name = None , tag_list = None ):
@@ -1470,7 +1470,8 @@ def upload(self, entity_type, entity_id, path, field_name=None,
14701470 if not os .path .isfile (path ):
14711471 raise ShotgunError ("Path must be a valid file, got '%s'" % path )
14721472
1473- is_thumbnail = (field_name == "thumb_image" or field_name == "filmstrip_thumb_image" )
1473+ is_thumbnail = (field_name == "thumb_image" or field_name == "filmstrip_thumb_image"
1474+ or field_name == "image" or field_name == "filmstrip_image" )
14741475
14751476 params = {
14761477 "entity_type" : entity_type ,
0 commit comments