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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kjay created an issue. See original summary.

markconroy’s picture

Issue summary: View changes
markconroy’s picture

Issue summary: View changes
smaz’s picture

Status: Active » Needs review
FileSize
2.87 MB

Patch attached.

markconroy’s picture

Status: Needs review » Reviewed & tested by the community

The images directory is now 1MB instead of 2.5MB. Well done!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 9108ff0 and pushed to 8.6.x. Thanks!

  • alexpott committed 9108ff0 on 8.6.x
    Issue #2941902 by smaz: Reduce the file size for bundled images in Umami
    

  • alexpott committed f224778 on 8.5.x
    Issue #2941902 by smaz: Reduce the file size for bundled images in Umami...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.