Open sudheerkancherla opened 8 years ago
Could you please tell in which context are not images optimised, assets or paperclip images? As out of box image_optim
itself optimises only assets.
hi, thanks for the quick reply. i am checking paperclip images(active record attachment). Is not there any option to enable for paperclip images too.
thanks, Sudheer.K
Currently there is no out of the box support in the gem itself (I've noted an issue for it #54 long time ago).
You can either contact the developer of paperclip-optimizer
, create a pull request for that gem or start a discussion about #54.
Hi,
First i tried 'paperclip-optimizer' but it seems not working with rails 4. Now, i am using rails 4.2 and ruby 2.2 versions. added gem 'image_optim' and gem 'image_optim_pack' and installed required libraries. i am not getting whats i am missing, images are not optimized.
my config/image_optim.yml: nice: 20 allow_lossy: true lossless: false pngout: false # disable svgo: false jpegoptim:
max_quality: 50 jpegrecompress:
quality: 0
Can any one please suggest any clue to debug more.
thanks, Sudheer.K