cloudinary-laravel
cloudinary-laravel copied to clipboard
Laravel SDK for Cloudinary
This PR allows to attach a file on cloudinary by passing a public id to the `attachCloudinaryMedia($publicId)` method. Adds some non breaking changes - A public Id will now be...
If user specifies the media, detachMedia should not delete all media from Cloudinary.
I'm trying to have an edit function and if the user changes their image I wanna delete the former one from the Cloudinary storage but couldn't find any resources. i'm...
Laravel Version: 9.25.1 PHP Version: 8.1.6 ```php public static function copyCoverImageToPermanentDirectory(Post $post, string $coverImageUrl): string { $destinationPath = 'posts/' . $post->id . '/cover'; Storage::disk('cloudinary')->copy($coverImageUrl, $destinationPath); // this produces an error...
It was giving an error on `$request->file` I just make it to validate whether the given parameter is actually an instance of the upload file or not.
https://github.com/cloudinary-labs/cloudinary-laravel/blob/ab0dc2d2dfefbeb67c7b282b72e6203802c36582/src/MediaAlly.php#L82 This method is problematic. It gets ALL the images associated to the entity, and deletes them all... Need to have an if statement to check for nullness of `$media`...
Hey, I have been struggling for hours and I still haven't found any solution with this one. I can't find a way to add more attributes in `x-cld-image`. This is...
Hi, Is it possible to add a watermark/overaly image to another image or video using this package?
Hello It will be great if we can specify some more parameters in the cloudinary.php conf file as mentioned [here](https://cloudinary.com/documentation/cloudinary_sdks#configuration_parameters). Actually, i am trying to specify the `signature_algorithm` parameter, is...
No provision to specify image name using the upload method ``` cloudinary()->upload($request->file('file')->getRealPath(), [ 'folder' => 'posts', 'transformation' => [ 'width' => 1920, 'height' => 1280 ] ])->getSecurePath(); ```