Download the PHP package sitegeist/origami without Composer
On this page you can find all versions of the php package sitegeist/origami. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sitegeist/origami
More information about sitegeist/origami
Files in sitegeist/origami
Package origami
Short Description Flow package that optimizes generated thumbnail images (jpg, png, gif, svg) for web presentation.
License MIT
Informations about the package origami
Sitegeist.Origami - Abbandoned
!!! Asynchronous images make the optimzation via jobqueue obsolete. This package is abandoned in favor of the original MOC.ImageOptimizer !!!
Asynchronous optimization of images for Flow and Neos with a neos-jobqueue.
This package is based on MOC.ImageOptimizer https://packagist.org/packages/moc/imageoptimizer)
Authors & Sponsors
- Martin Ficzel - [email protected]
The development and the public-releases of this package is generously sponsored by our employer http://www.sitegeist.de.
Introduction
Neos CMS / Flow framework package that optimizes generated thumbnail images (jpg, png, gif, svg and more) for web presentation. The original files of the editors are never affected since copies are always created for thumbnails.
The optimization is executed asynchronously by a jobrunner and not during page-creation. The image is imediately available in unoptimzed fashion. After optimization the new image-file will be served without changing the image-url.
By default this package is using jpegtran
, optipng
, gifsicle
and svgo
but the exact command for each format
can be configured via settings.
Should work with Linux, FreeBSD, OSX, Compatible with Neos 3.x+ / 4.x+
Installation
Sitegeist.Origami is available via packagist. Just add "sitegeist/origami" : "~1.0" to the require section of the
composer.json or run composer require sitegeist/origami
. We use semantic-versioning so every breaking change
will increase the major-version number.
Image-Optimization Tools
Ensure the image manipulation libraries jpegtran
(JPG), optipng
(PNG), gifsicle
(GIF) and svgo
(SVG) are
available on the server.
You can install the libraries globally using npm
:
Job-Queue
To actually optimize the images the imageOptimization-jobqeue has to be initialized and executed.
Configuration
Using the Settings
configuration, multiple options can be adjusted.
Each optimization for a media-format has to be enabled exlicitly since by default all optimizations are disabled.
You can replace the preconfigured optimization commands via settings.
When doing this you have to take care that you provide the necessary command on the target system.
Usage
- Clear thumbnails to generate new ones that will automatically be optimized.
./flow media:clearthumbnails
- See system log for debugging and error output.
All versions of origami with dependencies
flowpack/jobqueue-common Version *
flowpack/jobqueue-doctrine Version *