poldixd / simple-thumbnailer
Creates thumbnails and store them into the public storage.
0.2.0
2017-09-15 09:38 UTC
Requires
- php: >=5.6.4
- intervention/image: ^2.4
This package is auto-updated.
Last update: 2024-11-21 21:19:39 UTC
README
This Package creates thumbnails on laravel 5.x with intervention/image.
Please note, that the package is still in development! Don't use it!
Usage
\poldixd\SimpleThumbnailer\Image::get('path/to/image.jpg', 540);
The function returns the URL to the image. The thumbnail will be saved at storage/app/public/
. It is necessary that has linked you storage/app/public
folder to public/storage
with the artisan command $ php artisan storage:link
. You can find more information here.
License
SimpleThumbnailer is licensed under the MIT License.
Copyright 2017 Nils Poltmann