Create field for uploading per optimised images to S3.
This creates 4 copy of image uploaded
sm: this is copy of file with width 360px
md: this is copy of file with width 720px
lg: this is copy of file with width 1280px
full: this is actual file uploaded
except the full, other sizes are customisable
configuration is similar to s3Image field with addition to sizes option.
you can pull individual image using graphql with fragment
main width and height is for full image, sizesMeta field gives all the sizes in JSON field.
Create field for uploading per optimised images to S3.
This creates 4 copy of image uploaded
sm
: this is copy of file with width 360pxmd
: this is copy of file with width 720pxlg
: this is copy of file with width 1280pxfull
: this is actual file uploadedexcept the full, other sizes are customisable
configuration is similar to
s3Image
field with addition tosizes
option.you can pull individual image using
graphql
with fragmentmain width and height is for full image, sizesMeta field gives all the sizes in JSON field.