๐น Iโm currently working on Laravel and Flutter projects
dedmytro / laravel-cloudflare-images Goto Github PK
View Code? Open in Web Editor NEWProvides access to Cloudflare Images API for Laravel projects
License: MIT License
Provides access to Cloudflare Images API for Laravel projects
License: MIT License
How can we add the meta tags to image ?
Hi! Thanks for creating this package. When just getting started, I'm hitting an exception when trying to do basic things like list existing files:
[2021-12-23 19:08:53] local.ERROR: DeDmytro\CloudflareImages\Http\Responses\ListResponse::__construct(): Argument #1 ($result) must be of type array, null given, called in /Users/chris/develop/myproject/vendor/dedmytro/laravel-cloudflare-images/src/Http/Responses/BaseResponse.php on line 57 {"exception":"[object] (TypeError(code: 0): DeDmytro\\CloudflareImages\\Http\\Responses\\ListResponse::__construct(): Argument #1 ($result) must be of type array, null given, called in /Users/chris/develop/myproject/vendor/dedmytro/laravel-cloudflare-images/src/Http/Responses/BaseResponse.php on line 57 at /Users/chris/develop/myproject/vendor/dedmytro/laravel-cloudflare-images/src/Http/Responses/ListResponse.php:27)
I'm wondering if you have any guidance. Thank you.
CloudflareApi::images()->list()
I confirmed that these vars are set in .env
:
CLOUDFLARE_IMAGES_ACCOUNT
CLOUDFLARE_IMAGES_KEY
CLOUDFLARE_IMAGES_DELIVERY_URL
CLOUDFLARE_IMAGES_DEFAULT_VARIATION
Cloudflare images supports uploading by URL, but this package doesn't. We'd like to see it do so, as we currently have to download and reupload images to Cloudflare ourselves.
Uploading images with CloudflareApi::images()->upload() results to Failed to open stream: No such file or directory
// paste result here
Suddenly now when i delete the image i'm getting the error
Incorrect CloudFlare Key Or Account ID provided. Please check CLOUDFLARE_IMAGES_ACCOUNT and CLOUDFLARE_IMAGES_KEY to your .env
although delete image functionality is working. on deleting image is removed from the cloudflare but i don't know why i'm getting above error.
i'm using the dedmytro/laravel-cloudflare-images => 0.1.9
Please add support for the laravel 11
When running composer install i'm getting the following error:
dedmytro/laravel-cloudflare-images 0.1.5 requires guzzlehttp/guzzle ^6.2.1 -> found guzzlehttp/guzzle[6.2.1, ..., 6.5.x-dev] but the package is fixed to 7.3.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Is it compatible with Guzzle 7?
Suddenly getting the error
DeDmytro\CloudflareImages\Exceptions\IncorrectKeyOrAccountProvided: Incorrect CloudFlare Key Or Account ID provided. Please check CLOUDFLARE_IMAGES_ACCOUNT and CLOUDFLARE_IMAGES_KEY to your .env in file
It was working and then it wasn't. I have verified .env file variables and ensured they were correct and even generated new keys and it still isn't working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.