Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to return image height / width #69

Open
anthonyhexium opened this issue Jul 6, 2023 · 4 comments
Open

How to return image height / width #69

anthonyhexium opened this issue Jul 6, 2023 · 4 comments
Labels
type:question This issue asks a question (how to...).

Comments

@anthonyhexium
Copy link

Hi !

I am using Strapi as an API and a Next.Js front-end. I would like to make some optimization on my performances.

For that, I need to know the height and width of the image I send over my content.

I would like to know if it's possible somewhere in the code ? Event if I have to fork the repo.

Otherwise, I could go for an async call who search the media by it's URL etc ... But would prefer to do it another way.

Thanks !

@Witoso
Copy link
Member

Witoso commented Jul 7, 2023

Hey @anthonyhexium, thanks for reaching out. We have a project in progress on the CKEditor 5 side with the support of the image height (ckeditor/ckeditor5#14146). When we finish it, we will need to update the strapi plugin for this.

@Witoso Witoso added the type:question This issue asks a question (how to...). label Jul 7, 2023
@anthonyhexium
Copy link
Author

Thanks for answering @Witoso ! Any idea on when we can hope this to get done ?

@Witoso
Copy link
Member

Witoso commented Jul 10, 2023

 I would say that we are in the final stages, but it still requires a thorough testing phase, as this is a significant change on our side. And then it would require the update of Strapi plugin on our side (or you will fix it in your code). Follow the main issue, updates will be posted there.

@Waffe
Copy link

Waffe commented Mar 7, 2024

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question This issue asks a question (how to...).
Projects
None yet
Development

No branches or pull requests

3 participants