{"repo":"humanmade/tachyon-plugin","free":true,"listed":false,"github":"https://github.com/humanmade/tachyon-plugin","clone":"git clone https://github.com/humanmade/tachyon-plugin.git","description":"WordPress plugin for Tachyon","language":"PHP","stars":87,"topics":["wordpress","wordpress-plugin","image-processing","aws-lambda","aws-s3"],"license":null,"category":"media-processing","readme_excerpt":"Tachyon Faster than light image processing. Inspired / forked from Photon. A Human Made project. Maintained by @joehoyle. Tachyon is an image resizing service built to be used with Amazon S3 as the image backend, AWS Lambda (or any node.js server) to process images using sharp, and sits behind a CDN such as CloudFront or CloudFlare. This plugin handles modifying WordPress image URLs to use a Tachyon service instance. Installation 1. Upload and enable this plugin. 2. Add define( 'TACHYON URL', 'https://your.tachyon.url/path/to/uploads' ) to your wp-config.php file. Usage Typically the above steps are all you need to do however you can use the following public facing functions and filters. Functions tachyon url( string $image url, array $args = [] ) This function returns the Tachyon URL for a given image hosted on Amazon S3. Filters The following filters allow you to modify the output and behaviour of the plugin. tachyon disable in admin Defaults to true . You can override this by adding the following code to a plugin or your theme's functions.php : tachyon override image downsize Defaults to false . Provides a way of preventing Tachyon from being applied to images retrieved from WordPress Core at the lowest level, you might use this if you wanted to use tachyon url() manually in specific cases. tachyon skip for url Allows skipping the Tachyon URL for a given image URL. Defaults to false . tachyon pre image url Filters the Tachyon image URL excluding the query string arguments.","default_branch":null,"files":null,"tree":[],"storefront":"/r/humanmade","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/humanmade/tachyon-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}