Auto quality when fetching cloudinary transform

This commit is contained in:
JonnyWong16 2018-05-15 08:43:20 -07:00
parent af917c4915
commit 79b45c1c46
2 changed files with 3 additions and 1 deletions

View file

@ -835,6 +835,8 @@ def cloudinary_transform(rating_key=None, width=1000, height=1500, opacity=100,
)
img_options = {'format': img_format,
'fetch_format': 'auto',
'quality': 'auto',
'version': int(time.time())}
if width != 1000: