OP-3938 - added outputName to thumbnail representation

In case of integrating thumbnail, 'outputName' value will be used in templeate as {output} placeholder.
Without it integrated thumbnail would overwrite integrated review high res file.
This commit is contained in:
Petr Kalis 2022-09-22 12:28:03 +02:00
parent 15874c660f
commit 1bc7fbf1e1

View file

@ -162,6 +162,7 @@ class ExtractReview(publish.Extractor):
instance.data["representations"].append({
"name": "thumbnail",
"ext": "jpg",
"outputName": "thumb",
"files": os.path.basename(thumbnail_path),
"stagingDir": staging_dir,
"tags": ["thumbnail", "delete"]