Order of returned images
Hey folks,
Im facing an annoying issue. I upload images through Strapi into Cloudinary. Upon upload it creates subset of images using breakpoints:
- xlarge
- large
- medium
- small
- xsmall
When getting the content in my frontend via GrapQL the images return in a different order:
- xlarge
- large
- small
- medium
- xsmall
Whenever i upload in a local dev enviroment (wirting to disk upon upload; not using cloudinary) the images return in the same order as per breakpoint listing. So it doesnt seem to due with the upload script.
However, in production they are not retrieving in the logical order.
Is there a way to ensure the images retrieve in the (logical) order?
Cheers, Sven
Post is closed for comments.
Comments
1 comment