Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Why main image block without hash & ext? #54

Open
thenaim opened this issue Jun 8, 2022 · 3 comments
Open

Why main image block without hash & ext? #54

thenaim opened this issue Jun 8, 2022 · 3 comments

Comments

@thenaim
Copy link

thenaim commented Jun 8, 2022

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

@nhvu1988
Copy link
Contributor

@thenaim @melishev I have fixed this issue in PR #45 but... seem it's too long for reviewing?

@thenaim
Copy link
Author

thenaim commented Jun 22, 2022

@melishev, any news on this?

@SalahAdDin
Copy link

@melishev, any news on this?

It seems he is not maintaining this plugin anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants