Level 27
Don’t worry about setting a size on upload - you can get the size you need when you request the file: https://cloudinary.com/documentation/image_transformation_reference
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]);
}
Please or to participate in this conversation.