Skip to content
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 #111

Open
patdx opened this issue Apr 12, 2023 · 0 comments
Open

Image upload #111

patdx opened this issue Apr 12, 2023 · 0 comments

Comments

@patdx
Copy link
Owner

patdx commented Apr 12, 2023

It would be nice to support image upload feature.

Would it store in a separate files table or be in regular table (either as a json blob or several flattened columns)?

Given the cloud/edge constraint I think it should do preprocessing on the client side.

The saved content should have

  • resolution, quality, size limits
  • automatic resizing, perhaps on the client side
  • automatic exit data stripping
  • save blurhash, type, size, resolution in the database
  • retrieval would perhaps depend on a image resizer like imgproxy or thumbor

In the long term it should support cropping/etc. Maybe use uppy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant