X-Mac's avatar
Level 1

Cloudinary

Hi there, I'm using Cloudinary for create an image repository. I can upload image. My problem is that when I upload an image the image is resized. I can't understand which parameter I need to set for have the original image.

   $books = Books::all();

    foreach ($books as $book){
        Cloudder::upload($book->image, $book->isbn, array('folder'=>'books'));

        $path=  Cloudder::show(Cloudder::getPublicId());


        DB::table('books')
            ->where('isbn', $book->isbn)
            ->update(['image'=> $path]);

    }
0 likes
1 reply

Please or to participate in this conversation.