imagekit-php
imagekit-php copied to clipboard
PHP SDK for ImageKit.io API.
Hello, we're having a situation where our origin image paths contain query parameters. Example path: `Art_Object_Public/62113000074175459/Main_Image/image-download/4gJsEaRAh9Fv5MyFKrjj61gY6ArujW8u1HMv2pEBeKEbGuWVze6CNWwsQhpKm3ZCRU9dtgd7bjUJTG6G845GfEMVSKEbrvq1hhha/1580100858796_4013071.jpg?someParam=someValue` The resulting url by the PHP SDK now looks like this: `https://z-art-img.kunst.nl/Art_Object_Public/62113000074175459/Main_Image/image-download/4gJsEaRAh9Fv5MyFKrjj61gY6ArujW8u1HMv2pEBeKEbGuWVze6CNWwsQhpKm3ZCRU9dtgd7bjUJTG6G845GfEMVSKEbrvq1hhha/1580100858796_4013071.jpg?someParam=someValue?ik-sdk-version=php-1.2.2` There are...
Error: Object of class ImageKit\Utils\Response could not be converted to string in file C:\Users\Lenovo\Desktop\cloudinary\vendor\laravel\framework\src\Illuminate\Log\Logger.php on line 268
```php $img = file_get_contents(__DIR__."/sample_image.jpeg"); $encodedImageData = base64_encode($img); $uploadFile = $imageKit->uploadFile([ 'file' => $encodedImageData, 'fileName' => 'sample.jpeg', 'folder' => 'sample-folder', 'tags' => implode(['abd', 'def']), 'useUniqueFileName' => false, 'customCoordinates' => implode(',', ['10',...