Transform images on Cloudinary

This commit is contained in:
JonnyWong16 2018-04-29 18:46:46 -07:00
commit 0d7ade8ca4
4 changed files with 106 additions and 25 deletions

View file

@ -1693,7 +1693,7 @@ def dbcheck():
for row in result:
img_hash = notification_handler.set_hash_image_info(
rating_key=row['rating_key'], width=600, height=1000, fallback='poster')
rating_key=row['rating_key'], width=1000, height=1500, fallback='poster')
data_factory.set_imgur_info(img_hash=img_hash, imgur_title=row['poster_title'],
imgur_url=row['poster_url'], delete_hash=row['delete_hash'],
service='imgur')