-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Why does an image change its size after being uploaded #2552
Comments
It's like the image has been scaled up, and this should not happen. Or maybe it's just my impression. |
I think that this might be caused by the progress bar styles. Perhaps they use something like pos:rel, overflow:hidden which might affect the layout. |
|
According to this article setting |
My previous comment is wrong - server cannot return image with bigger width than it is loaded from disk. |
To save you a couple of minutes, @pjasiun meant this:
So, together with |
Most probably, but we need to check it. I did only quick research. Anyway, |
[OT] The whole |
Actually description of this attribute in W3C's specification is very laconic and it's not even a requirement to include it alongside
More interesting version of it is inside WHATWG's specification:
So I doubt it is really W3C's decision ;) In fact AFAIK it originates from RICG (Responsive Image Community Group) from their work on |
To conclude. The server, when returning the set of values to be used in Note: that if the |
It means that the proper JSON returned from the server is, for instance:
|
Feature: Replaced srcset attribute in the model by responsive attribute which is now converted to three attributes in the view: srcset, sizes and width. Closes #145. Closes ckeditor/ckeditor5-easy-image#4. BREAKING CHANGE: The srcset attribute is now replaced by responsive attribute in the model.
@pjasiun how do i add more data on this json? |
The text was updated successfully, but these errors were encountered: