Level 70
Well... its nice work.. all the best
2 likes
Hello everyone,
We recently released a image upload and thumbnail management package for laravel 5+. The package uses Glide library from the php league for on-demand image manipulation. Since the plugin is utilizing glide package you can generate thumbnail on a fly using blade syntax
@laravelImage($uploadDir, $imageName, 300, 200)
or simply,
<img src="/cache/{{ $uploadDir . $image }}?w=300&h=200&fit=crop-center" alt="" />
Generated thumbs are cached inside your storage folder.
The project is available here at github: https://github.com/ankitpokhrel/laravel-image
Please feel free to report any bug found. Pull requests, issues, and suggestions are more than welcome!
Please or to participate in this conversation.