Nikki created this task.
Nikki added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  **Steps to replicate the issue** (include links if applicable):
  
  - Go to https://www.wikidata.org/wiki/Q4115189
  - Start adding a new statement
  - Select "image"
  - Enter the name of a tall/narrow or short/wide image, e.g. "Vertical bar 
1-08.svg <https://commons.wikimedia.org/wiki/File:Vertical_bar_1-08.svg>", 
"Line example.svg <https://commons.wikimedia.org/wiki/File:Line_example.svg>", 
"Ray (A, B, C).svg 
<https://commons.wikimedia.org/wiki/File:Ray_(A,_B,_C).svg>", "Tetracontan 
structure.svg 
<https://commons.wikimedia.org/wiki/File:Tetracontan_structure.svg>" or 
"Osmanlıca matbu ayraç 6.svg 
<https://commons.wikimedia.org/wiki/File:Osmanl%C4%B1ca_matbu_ayra%C3%A7_6.svg>"
  
  **What happens?**:
  
  The preview for "Vertical bar 1-08.svg" displays vertical stripes:
  F44991051: image-search-repeat.png 
<https://phabricator.wikimedia.org/F44991051>
  
  "Line example.svg" displays a solid black box:
  F44991421: image-search-repeat-2.png 
<https://phabricator.wikimedia.org/F44991421>
  
  "Ray (A, B, C).svg" displays a blurry black line:
  F44995793: image-search-repeat-5.png 
<https://phabricator.wikimedia.org/F44995793>
  
  "Tetracontan structure.svg" displays a grey smudge:
  F44995784: image-search-repeat-4.png 
<https://phabricator.wikimedia.org/F44995784>
  
  "Osmanlıca matbu ayraç 6.svg" displays a solid grey box:
  F44995798: image-search-repeat-6.png 
<https://phabricator.wikimedia.org/F44995798>
  
  **What should have happened instead?**:
  
  The preview should show a recognisable version of the image, e.g. "Vertical 
bar 1-08.svg" should be a single vertical line, "Line example.svg" should be a 
single horizontal line.
  
  **Software version** (skip for WMF-hosted wikis like Wikipedia):
  
  **Other information** (browser name/version, screenshots, etc.):
  
  The thumbnails are missing `background-repeat: no-repeat;`, so the image is 
being shown multiple times.
  
  `background-size: auto 50px;` seems to be causing short wide images to be 
stretched to fit/zoomed-in.

TASK DETAIL
  https://phabricator.wikimedia.org/T362024

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Nikki
Cc: Nikki, Aklapper, Danny_Benjafield_WMDE, S8321414, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to