Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to upload the images to cloudinary or any cloud service #5839

Open
zia-khan-dev opened this issue Feb 10, 2024 · 6 comments
Labels

Comments

@zia-khan-dev
Copy link

Laravel version

No response

PHP version

No response

Voyager version

No response

Description of problem

Whenever I upload images to cpanel, for some reason I'm updating my site then I've to take care about the images.

Proposed solution

I want to upload it into cloudinary or any other free cloud services so that I've no worries.
I don't want to go with observer, because it will be more difficult for me!

Alternatives considered

No response

Additional context

No response

@zia-khan-dev zia-khan-dev changed the title Is there any to upload the images to cloudinary or any cloud service Is there any way to upload the images to cloudinary or any cloud service Feb 10, 2024
@Emerica
Copy link
Contributor

Emerica commented Feb 10, 2024

What images are you referring to?
Images uploaded into settings?
Images uploaded into models?
You easiest solution is probably to change the storage to a cloud provider that supports some form of S3 protocol, then you can update your voyager config to use that storage instead.

@zia-khan-dev
Copy link
Author

Yes, images uploaded into models.
But I'm using cpanel not aws s3 bucket. So i need to to save it in cloudinary

@Emerica
Copy link
Contributor

Emerica commented Feb 10, 2024

@Emerica
Copy link
Contributor

Emerica commented Feb 10, 2024

https://github.com/yoelpc4/laravel-cloudinary
Seems more recent

@zia-khan-dev
Copy link
Author

@Emerica Well I tried of the packages, but it give me error of This driver does not support retrieving URLs.
image

I just changed this 'storage' => [ 'disk' => 'cloudinary', ], in voyager and then follow the above readme documentation of each packages.

@Emerica
Copy link
Contributor

Emerica commented Feb 11, 2024

https://github.com/xiaomlove/laravel-filesystem-cloudinary
Suggestions for this guy with a couple google searches of that error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants