Jeroen-G / laravel-photo-gallery

A photo gallery for Laravel
40 stars 32 forks source link

[Feature] Generate Thumbnails #37

Open amenk opened 8 years ago

amenk commented 8 years ago

I saw the lib does not generate thumbnails

I do need thumbnails :-)

Is this out of scope of this lib? i.e. should I try to include it into the lib and make a pull request, or is it better to do this in my own app?

Jeroen-G commented 8 years ago

It very well might be doable by this package. For example with http://glide.thephpleague.com/

amenk commented 8 years ago

Sounds interesting. Will have a look hopefully soon. So how would we best integrate it to your package?

Jeroen-G commented 8 years ago

I haven't used it before, but if you follow the example, you can implement it quite easily in your views. http://glide.thephpleague.com/1.0/api/size/

There is also a Laravel bridge: https://github.com/thephpleague/glide-laravel