
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
camaleon_image_optimizer
Advanced tools
This is a convenient image optimizer plugin for Camaleon CMS. Compressing images improves load times and thus SEO. It uses the image_optim gem under the hood. This gem contains multiple utilities for compressing GIF, JPEG, PNG, and SVG files. My experience has been that GIFs JPEGs are easily crushable with these tools, but using multiple PNG compressors is extremely slow. Thus, only one of the PNG compressors is enabled here.
Currently the only setting exposed by the plugin is max_quality
, affecting JPEG and PNG images. Please note that setting this to the maximum will still result in some compression.
Add this line to your application's Gemfile:
gem 'camaleon_image_optimizer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install camaleon_image_optimizer
If you need support for compressing SVG files, install SVGO. Note that you need to do this on your production server, and you must first have NPM installed.
$ npm install -g svgo
If you instead install SVGO locally:
$ npm install svgo
or:
$ yarn add svgo
...then you must add this variable to your Production environment:
SVGO_BIN='node_modules/svgo/bin/svgo'
Just activate the plugin in Camaleon's admin panel.
See CONTRIBUTING.md
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that camaleon_image_optimizer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.