-
Notifications
You must be signed in to change notification settings - Fork 1
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
Cant get source info #1
Comments
os.system("pip install imgbbpy")
token = os.environ['Token']
files = os.listdir("images")
import imgbbpy
client = imgbbpy.SyncClient(token)
image = client.upload(file=f"images/{files[0]}")
print(image.url) |
Ok imgbb doesn't support svg.. |
Hello, thanks for opening this issue. I'll make sure to add a statement in the error code to check whether the content is supported by imgbb. |
Np! I require a system where the image changes every week but the link stays the same. So is it possible to replace the image through api? It is possible by the frontend |
Sorry, I don't think that's possible. Imgbb assigns a unique value to the link as far as I know. |
Ok thank you! |
I was trying to upload graphs generated by matplot lib both in svg
Edit: png works
My code: https://replit.com/@QuantumCodes/graph-uploader#upload.py
How to fix this?
The text was updated successfully, but these errors were encountered: