Level 122
why do you need to use Intervention? just upload it as a file and it won't be modified.
Currently my uploaded gif image keep getting converted to a static picture and my display image is static and not animated. How do i upload a gif image that retain it animation too? I am using intervention btw.
$image = Input::file('image');
if($image)
{
$filename = time() . '.' . $image->getClientOriginalName();
$path = public_path('img/products/' . $filename);
Image::make($image->getRealPath())->save($path);
$banner->image = 'img/products/'.$filename;
}
$banner->save();
Please or to participate in this conversation.