https://bugzilla.wikimedia.org/show_bug.cgi?id=54205

       Web browser: ---
            Bug ID: 54205
           Summary: VisualEditor: Dimensions of small images are lost in
                    rendering
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Images that have thumbnail sizes that are larger than the original should be
rendered at the specified size, not the size of the original.

MediaWiki core does this, but somewhere between MediaWiki/Parsoid/VisualEditor
the specified dimensions are lost.


For example, on https://www.mediawiki.org/wiki/VisualEditor/Team there are
various uses of [[File:Wikimedia_Foundation_office_camera_shy.png]] (of which
the full size is 140px). The thumbnail size on that page is 150px, and when
viewing the page normally it is rendered at 150px (browser scales up from 140px
non-thumb url), but when editing in VisualEditor the node has a width attribtue
of 140 instead of 150.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to