Download the PHP package dzorogh/optimizedimage without Composer
On this page you can find all versions of the php package dzorogh/optimizedimage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dzorogh/optimizedimage
More information about dzorogh/optimizedimage
Files in dzorogh/optimizedimage
Download dzorogh/optimizedimage
More information about dzorogh/optimizedimage
Files in dzorogh/optimizedimage
Vendor dzorogh
Package optimizedimage
Short Description Optimize images on fly, generate webp, resize, etc.
License MIT
Package optimizedimage
Short Description Optimize images on fly, generate webp, resize, etc.
License MIT
Please rate this library. Is it a good library?
Informations about the package optimizedimage
Optimized Image
- Show
<picture>
block with srcset and lazy-load params. - Format to webp and resize image on server.
How to use
Add to .env APP_KEY_128
variable with some long key.
Required lazy load js plugin. https://github.com/verlok/vanilla-lazyload works great. Setup it to use .lazy class.
In your blade template:
The picture
method returns HTML. It has <picture>
tag with 2 sources:
one for png
/jpg
type of image, and second with webp
.
And also default tag with width and height.
You must store your images in /storage/app/public
folder.
This package also creates /storage/app/cache
for cached resized variants
All versions of optimizedimage with dependencies
PHP Build Version
Package Version
The package dzorogh/optimizedimage contains the following files
Loading the files please wait ....