This repository was archived by the owner on Dec 23, 2023. It is now read-only.
This repository was archived by the owner on Dec 23, 2023. It is now read-only.
Why main image block without hash & ext? #54
Open
Description
image block after upload:
{
"data" : {
"alt": "signature.jpg",
"formats": {"large": {"ext": ".jpg", "url": "http://minio:9000/strapi/large_image_2e0e164b2d.jpg",…},…}
"height": 640,
"mime": "image/jpeg",
"size": 74.69,
"url": "http://minio:9000/strapi/image_2e0e164b2d.jpg",
"width": 1536,
}
}
Expect Result with hash & ext:
{
"data" : {
"alt": "signature.jpg",
"formats": {"large": {"ext": ".jpg", "url": "http://minio:9000/strapi/large_image_2e0e164b2d.jpg",…},…}
"hash": "image_2e0e164b2d",
"ext": ".jpg",
"height": 640,
"mime": "image/jpeg",
"size": 74.69,
"url": "http://minio:9000/strapi/image_2e0e164b2d.jpg",
"width": 1536,
}
}
I'm not exactly sure is strapi passing hash & ext parameters in this line or not.
@melishev, What do you think?
ps: formats types all with hash & ext
Metadata
Metadata
Assignees
Labels
No labels