Skip to content
This repository has been archived by the owner on May 23, 2018. It is now read-only.

Optimize uploaded images #24

Open
paulmenzel opened this issue Mar 1, 2016 · 1 comment
Open

Optimize uploaded images #24

paulmenzel opened this issue Mar 1, 2016 · 1 comment

Comments

@paulmenzel
Copy link
Collaborator

PageSpeed Insights currently gives 60 from 100 to UNDUNE for the Desktop category (51/100 for Mobile).

It is suggested, that the images should be optimized.

Optimize images

Properly formatting and compressing images can save many bytes of data.

Optimize the following images to reduce their size by 512.8KiB (11% reduction).

All these images were uploaded by the users using the CMS. So they are outside of Ruby on Rails’ asset pipeline, and Gems like image_optim do not help.

It looks like PaperclipOptimizer might be the solution.

Any objections to a pull request adding this?

It should be checked if a copy of the original uploaded image is safed somewhere or also optimized.

@tralles
Copy link
Owner

tralles commented Mar 2, 2016

dear @paulmenzel ,

thanks for your thought, i like to idea of having automatic optimized pictures, so feel free to add this optimization to this awesome project too :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants