-
Notifications
You must be signed in to change notification settings - Fork 18
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
Image upload not working #37
Comments
Yeah i am also getting broken image after uploading via python script. |
As mentioned in the test, the file needs to be base64 encoded.
|
Here is updated and working code.
|
Works, thanks! |
I had the same issue. Documentation should be updated.
|
aman-squareboat
pushed a commit
to aman-squareboat/imagekit-python
that referenced
this issue
Jun 19, 2023
aman-squareboat
pushed a commit
to aman-squareboat/imagekit-python
that referenced
this issue
Jun 21, 2023
imagekitio
added a commit
that referenced
this issue
Jun 23, 2023
Fixed in version 3.0.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am trying to upload my image:
But imagekitio.io ist showing just:
When I extract the metadata, it looks like the image was not uploaded as image type:
{'type': 'file', 'name': 'test_doAbVVtZJ.jpg', 'createdAt': '2023-02-25T19:42:54.915Z', 'updatedAt': '2023-02-25T19:42:55.118Z', 'fileId': '63fa64bee809dd54b091d551', 'tags': ['test'], 'AITags': None, 'versionInfo': {'id': '63fa64bee809dd54b091d551', 'name': 'Version 1'}, 'embeddedMetadata': {}, 'customCoordinates': None, 'customMetadata': {}, 'isPrivateFile': False, 'url': 'https://ik.imagekit.io/nb4gbrqqe/test_doAbVVtZJ.jpg', 'thumbnail': 'https://ik.imagekit.io/demo/img/static-file-1.png', 'fileType': 'non-image', 'filePath': '/test_doAbVVtZJ.jpg', 'size': 90}]
My manually uploaded image show 'fileType': 'image'.
How can I upload my images as image type?
Thanks in adavance
Stefanie
The text was updated successfully, but these errors were encountered: