Impossible d'obtenir sorl.thumnail pour créer des vignettes. Cela crée simplement des fichiers vides.Problèmes Django sorl.thumbnail
Say, a essayé de télécharger 3.gif, le fichier original se téléchargé fin, miniature n'a pas créé, il crée un fichier avec 0 octets:
-rwxrwxrwx 1 www-data www-data 14128 2010-02-13 06:57 3.gif
-rwxrwxrwx 1 www-data www-data 0 2010-02-13 06:57 3_gif_200x200_autocrop_q85.jpg
Le modèle ressemble à ceci
{% thumbnail photo.photo 200x200 autocrop as thumb %}
<img src="{{ thumb }}" width="{{ thumb.width }}" height="{{ thumb.height }}" alt="{{ photo.title }}" />
Est-ce que votre installation PIL a toutes les bibliothèques appropriées? Que dit votre/var/log/syslog (ou équivalent)? –