Skip to content

Add blurha support for image #328

Closed
Closed

Activity

  1. eldadfux commented on May 20, 2020

    @eldadfux
    Member

    Hey @duythien0912 how would you see this integrate with Appwrite? Please provide more info

  2. added
    question
    on May 20, 2020
  3. duythien0912 commented on May 21, 2020

    @duythien0912
    Author

    I think we can add new params name blurha on view image link

    http://appwrite.io/v1/storage/files/{fileID}/view?project={projectID}&blurha={blurHash}

    blurhash string will create when we upload the image ( maybe on flutter or server )

  4. eldadfux commented on May 21, 2020

    @eldadfux
    Member

    I don't think this should be added to the storage service because its a a very specific feature that might add more complexity, especially when talking about integration with a 3rd party service.

    This can be a really good fit for our cloud functions service. We could create a function that listens to any file uploaded, get the image string from blurHash and save it as new meta data for the file or any related database document for max performance.

  5. eldadfux commented on May 21, 2020

    @eldadfux
    Member

    You can read about our cloud functions feature here: #307

  6. christyjacob4 commented on May 30, 2020

    @christyjacob4
    Contributor

    @duythien0912 Thanks for this idea. But we're trying to make appwrite APIs interact with as less 3rd parties as possible. We only interact with 3rd party providers for our OAuth endpoints which would be impossible to implement otherwise.

    As @eldadfux suggested it's best to use the cloud functions service.

  7. added a commit that references this issue on Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions