Introduce Thumbnails for files #51
Labels
No Label
Priority
Critical
Priority
High
Priority
Low
Priority
Normal
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Type
Breaking
Type
Documentation
Type
Enhancement
Type
Feature
Type
Report
Type
Security
Type
Suggestion
Type
Testing
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/extensions-website#51
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At the moment images are always loaded in full size, making the site slow (right now the homepage has images of up to 2MB).
implement thumbnailing as in other projects (usingsorl.thumbnail
?)Use thumbnails in small versions of previews in Extension Detail#100Deployed thumbnails generation for images and videos both in staging and production.
About
sorl
: it's not used because we've had problems with its caching causing very high database I/O in Blender ID (so high it was discovered because it caused regular performance drops for other services) , even though Blender ID barely uses any images.So, out of caution, I'd not use it in a new project that can be expected to have quite some traffic.
Thumbnails get generated in background tasks, and if no thumbnails exist, source image will be used instead (Sentry will log errors about this).
An annoying side-effect of this is that in development,
./manage.py process_tasks
has to be run in order for thumbnails to be generated (same as withClamAV
scanning).See more details in #87
Great! Any reason to go with PNG instead of something like WebP? Or even jpeg.
Not
JPEG
because I'd expect a lot of text on extensions previews, andJPEG
compression doesn't handle text well.As for
WebP
I forgot about it again tbh: is it good at compressing illustrations with text and other sharp-edged graphics on them, compared toPNG
?It's easy to change, if
WebP
is preferableChanged thumbnails format to WebP
6f07ae61b6