Skip to content

Caching Image Server plugin #705

@chyyran

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!
  }
}

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