Page MenuHomePhabricator

VisualEditor: Image thumbnails that don't specify size should render at the wiki-default size
Closed, ResolvedPublic

Description

If one opens the VE editing interface, the user experience in relation to image formats varies significantly. The report:

http://de.wikipedia.org/w/index.php?title=Wikipedia:Technik/Text/Edit/VisualEditor/Beta2013-07&oldid=121153156#Bilder_werden_im_VE_kleiner_angezeigt

has several examples with different browsers like

FF 22 / Win 7: edgewise images smaller; rest bigger.
Chrome 28 / Win 7: all significantly smaller.

See also screenshots in perma link.


Version: unspecified
Severity: normal

Details

Reference
bz52487

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:49 AM
bzimport set Reference to bz52487.

When viewing a page, images that are specified as [[File:Foo.jpg|thumb|Caption]] render as 220px wide (en.wp)/180px wide (de.wp), regardless of dimensions or aspect ratio.

In visual editor, images specified the same way render so as not to exceed 190px wide by 212px high.

This means that images can appear at very different sizes in the VE editing surface to how they appear on the rendered page. This is especially true for very tall images.

Example to better illustrate this, compare the two views of this page
View mode: https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox4&oldid=575350620
VE edit mode: https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox4&oldid=575350620&veaction=edit

Merging with bug 47804.

  • This bug has been marked as a duplicate of bug 47804 ***