tripikad / trip2

Estonian largest travel community built on Laravel and Vue
6 stars 6 forks source link

Use filesystem API for image storage #269

Open kristjanjansen opened 8 years ago

kristjanjansen commented 8 years ago

http://laravel.com/docs/5.1/filesystem

This likely forces us to store images in storage/app/images and serve them using http://image.intervention.io/api/response

  get('/images/{image}', function($image) {
       return Image::make(Storage::get($image)->response();
  });

This also needs performance tests.

kristjanjansen commented 8 years ago

Pushing to V2. #329 is enough for V1