ckeditor / strapi-plugin-ckeditor

CKEditor 5 - Official Integration for Strapi
https://market.strapi.io/plugins/@ckeditor-strapi-plugin-ckeditor
Other
72 stars 79 forks source link

How to return image height / width #69

Open anthonyhexium opened 1 year ago

anthonyhexium commented 1 year ago

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 commented 1 year ago

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.

anthonyhexium commented 1 year ago

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

Witoso commented 1 year ago

 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 commented 8 months ago

Any update on this?