Open MaZZly opened 7 years ago
Might also be worth adding to the README that it support django-stdimage variations.
It seems that https://github.com/respondcreate/django-versatileimagefield has no attrubute variations
.
----> 1 image.variations
AttributeError: 'VersatileImageFieldFile' object has no attribute 'variations'
Probably it would be better to add the possibility of declaring lookups for field thumbnails when running the command
Yes, I'm thinking to do something more universal.
Do you know how I can retrieve all thumbnails from VersatileImageFieldFile
?
@akolpakov In my application using django-versatileimagefield I resolved this issue very simply: there are few settings which can be used for configure locations of changed images: VERSATILEIMAGEFIELD_SIZED_DIRNAME
, VERSATILEIMAGEFIELD_FILTERED_DIRNAME
, VERSATILEIMAGEFIELD_PLACEHOLDER_DIRNAME
, so I just added these paths to -e
option when calling the Command
Sorry, has this issue been addressed beside ignoring named thumbnails in command?
@boryskuczkowski you can ignore thumbnails by using --exclude
option, please check README.
But this issue is about to implement some universal automatic solution to exclude them automatically.
Hiyo..
noticed this removed thumbnails and such for my projects.. So I decided to extend this to support the variations field that django-stdimage uses..
https://github.com/akolpakov/django-unused-media/pull/5
Feel free to merge
Cheers!