Skip to content

Commit

Permalink
feat: add webpquality support for renditions
Browse files Browse the repository at this point in the history
  • Loading branch information
ruisaraiva19 committed Oct 8, 2020
1 parent 4b18431 commit 8a04215
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/general-usage/graphql-types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ need for Gatsby Image features to work (see Handy Fragments page for more info):
format: String
bgcolor: String
jpegquality: Int
webpquality: Int
): ImageRenditionObjectType


Expand Down
1 change: 1 addition & 0 deletions grapple/types/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class ImageObjectType(DjangoObjectType, BaseImageObjectType):
format=graphene.String(),
bgcolor=graphene.String(),
jpegquality=graphene.Int(),
webpquality=graphene.Int(),
)
src_set = graphene.String(sizes=graphene.List(graphene.Int))

Expand Down

0 comments on commit 8a04215

Please sign in to comment.