Replies: 3 comments
|
LargeBinary probably if you are saving image content |
|
I think databases are not designed to function as file storage, maybe a better way is to save the image file to some location (like a local folder on your disk, AWS-S3 or Dropbox) the database would save a string with the location of the image file for that purpose you can use: SQLAlchemy-ImageAttach is a SQLAlchemy extension for attaching images to entity objects |
storing binary representations is fine in some cases, but i would also go the bucket route if possible. no clue how a cdn would distribute bytea |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
or should i import another library?
All reactions