Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Umami currently includes the images in the demo_umami profile and the plan is to download and install them after the profile is installed #2936841: Remove images from demo_umami profile and download upon installation instead. For the time being, we need to keep images as compressed as possible without losing too much quality.
Proposed resolution
Resize the images to a maximum of 768px wide, the maximum 'normal' non-retina size in use in the theme. Also appropriately optimise the file size of each jpeg.
Remaining tasks
All the things.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2941902_4_optimise_umami_images.patch | 2.87 MB | smaz |
Comments
Comment #2
markconroy CreditAttribution: markconroy as a volunteer and at Annertech commentedComment #3
markconroy CreditAttribution: markconroy as a volunteer and at Annertech commentedComment #4
smazPatch attached.
Comment #5
markconroy CreditAttribution: markconroy as a volunteer and at Annertech commentedThe images directory is now 1MB instead of 2.5MB. Well done!
Comment #6
alexpottCommitted 9108ff0 and pushed to 8.6.x. Thanks!