sorl thumbnail + django issues in production
问题 I'm using sorl thumbnail with Django. On my local setup it works fine, but in production the thumbnails are not made. My code looks like this: {% load thumbnail %} {% thumbnail up.image "32x32" crop="center" as im %} <img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}"> {% empty %} <img src="{{ MEDIA_URL }}/images/missing_small.png" alt="" title="" /> {% endthumbnail %} I enabled logging and the trace looks like this: Traceback (most recent call last): [...] File "/usr