Download the PHP package netlogix/nximageoptimizer without Composer
On this page you can find all versions of the php package netlogix/nximageoptimizer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download netlogix/nximageoptimizer
More information about netlogix/nximageoptimizer
Files in netlogix/nximageoptimizer
Package nximageoptimizer
Short Description Optimize images when they are processed by the resource publisher
License MIT
Informations about the package nximageoptimizer
TYPO3 Extension nximageoptimizer
This TYPO3 extension optimizes images (jpg, png, gif, svg) for web presentation when they are published. It will generate WebP versions of each rendered image and serve them to the client.
Compatibility
The current version (dev-master) of this extension has been tested in TYPO3 12 on PHP 8.1, 8.2 and 8.3.
Requirements
This extension requires additional third-party tools.
- jpegoptim: utility to optimize/compress JPEG files
- optipng: OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information
- pngquant: pngquant is a command-line utility and a library for lossy compression of PNG images
- svgo: Node.js tool for optimizing SVG files
- gifsicle: Create, manipulate, and optimize GIF images and animations
You should install them using your package manager of choice.
Ubuntu Example
The following is an example installation on Ubuntu:
macOS Example (using Homebrew)
macOS Example (using MacPorts)
Installation
Install the package via composer.
Place the following in your .htaccess file and images will be replaced with WebP version.
Tell every caching proxy to cache based on "accept" header
Troubleshooting
The Ubuntu source package for imagemagick does not declare a build dependency on libwebp-dev. Thus imagemagick gets built without webp support. To fix this install the webp package.