django-cms / django-filer

File and Image Management Application for django
https://django-filer.readthedocs.io/
Other
1.78k stars 581 forks source link

fix: Reduce number of thumbnails created for admin, avoid admin thumbnails for svg files #1490

Closed fsbraun closed 3 months ago

fsbraun commented 3 months ago

Description

Over the years, several thumbnail file sizes for the filer admin have accumulated:

This PR reduces the thumbnail sizes to two

No thumbnails are generated for SVG files shown in the admin.

This PR fixes #1489 and reduces the amount of storage used up for thumbnails used by the filer admin interface.

Currently, the icon sizes are also hard-coded into the css. The next step will be to make them html attributes and have dynamic css that adjusts to the attributes.

Related resources

Checklist