I am utilizing Imagekit to resize some images and export 3 different variations in a JSON format for an api call:
'image': k.thumbnail_large.url if k.image else '',
'thumb_med': k.thumbnail_medium.url if k.image else '',
'icon': k.thumbnail_icon.url if k.image else '',
Problem is that on my non-beefy virtualized server of 512mb of RAM, I am crashing the Django application server when it tries to resize over 50 images * 3.
How do I go about priming/preprocessing these with over 500 images now entered into the CMS?