Changes between Version 2 and Version 3 of Ticket #13794, comment 5


Ignore:
Timestamp:
Feb 21, 2017, 5:03:35 PM (3 years ago)
Author:
Gosh Snobo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13794, comment 5

    v2 v3  
    11I would propose to reopen this ticket. Currently, {{{onUploaded}}} sets image width & height if non-empty values are returned from server, otherwise it sets {{{$img.naturalWidth}}} & {{{$img.naturalHeight}}}. But I think it should be a valid scenario to NOT set width/height, e.g. to allow for responsive images (those with {{{max-width=100%}}} in the CSS).
    22
    3 In case of traditionally uploaded image, {{{config.image2_prefillDimensions}}} setting serves exactly this purpose. In case of dropped upload, however, this setting has no effect. So imho either the same setting should be also obeyed by {{{onUploaded}}}, or we need a new setting (though I think it would be more confusing).
     3In case of traditionally uploaded image, {{{config.image2_prefillDimensions}}} setting serves exactly this purpose. In case of dropped upload, however, this setting has no effect. So imho either {{{onUploaded}}} should obey the same setting, or we need a new one (though I think it would be more confusing).
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy