Laravel Proximage: A Handy Package for Proxying Images

Laravel Proximage is a handy package by Ilya Sakovich for proxying images through The package provides you convenience methods for generating URLs with a fluent API for image transformations. If you want to cache your images via the proxy you can use the proxyimage() helper: If you wanted to resize the image, you can use the objects width() method: And finally, heres an example of cropping and transforming images: The service (that this package relies on) uses Cloudflare which means images are cached and delivered from over 150+ global datacenter. You can reference the official documentation for a complete list of transformations available as well as examples of how each setting affects the original source image.

Read Full Article at