Skip to content

Caching Image Server plugin #705

Description

@chyyran

Implement an image server for image file records. Implements the following API as a plugin (KestrelServerMiddlewareProvider + GraphQL Extension)

scalar Url;
enum Scaling {
  Original,
  Half,
  Quarter,
  Thumbnail,
  Placeholder
}

extend type Query {
  image(fileId: Uuid!) {
      height: Int!
      width: Int!
      mimetype: String!
      url(scaling: Scaling!): Url!
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions