How To Upload To Cloudinary? #306
Replies: 7 comments 3 replies
-
pdf files and videos are uploading successfully |
Beta Was this translation helpful? Give feedback.
-
What flysystem adapter are you using? |
Beta Was this translation helpful? Give feedback.
-
Hmm. What's happening is that, with images, etc, Intervention is trying to create a new instance of Image so that it can read the width, height, etc, to store that information in the database. But it seems like it can't read the tmp file that is uploaded. Typically, I see this issue with s3 when the bucket permissions aren't configured correctly. I have an upcoming project that needs Cloudinary so I can do some more digging then. But would love to hear your feedback if you can do some debugging. |
Beta Was this translation helpful? Give feedback.
-
I Really Hoped For a Solution But i found nothing |
Beta Was this translation helpful? Give feedback.
-
Are your temp files getting uploaded to Cloudinary or to livewire-tmp on your server? |
Beta Was this translation helpful? Give feedback.
-
Hey, looking into this today, and I think that this https://github.com/codebar-ag/laravel-flysystem-cloudinary#-file-extension-problem could be an issue with this particular driver and Curator. |
Beta Was this translation helpful? Give feedback.
-
Think I got you sorted with this. It's working for me with the Cloudinary Laravel SDK You will need to use a custom model though to bypass Glide so the images are delivered from Cloudinary. Here's a gist with an example. https://gist.github.com/awcodes/4cd666ec1b984dd1ef119e7f7ea4066d I still think that particular driver is going to give you issues though. :) Cheers. |
Beta Was this translation helpful? Give feedback.
-
i tried everything to make the upload to cloudinary work but i keep getting resource not found
CustomServerFactory.php :
curator.php :
fileSystem.php :
i keep getting :
Beta Was this translation helpful? Give feedback.
All reactions