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

            Bug ID: 66852
           Summary: Distorted thumbnail for audio files
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: TimedMediaHandler
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

When querying the API for audio thumbnails (yeah, appears to be stupid ...) it
returns a height and width in a manner that let the thumb look distorted.

Example:
https://commons.wikimedia.org/w/api.php?action=query&format=jsonfm&iiprop=url|size|timestamp|user|sha1|comment|mime&iiurlheight=120&iiurlwidth=120&intoken=&prop=imageinfo&titles=File:Ca-Rosa_Lavi%C3%B1a_Carreras-article.flac

Result:
"thumburl":
"https://bits.wikimedia.org/static-1.24wmf9/skins/common/images/icons/fileicon-ogg.png";
"thumbwidth": 120
"thumbheight": 13

https://bits.wikimedia.org/static-1.24wmf9/skins/common/images/icons/fileicon-ogg.png
is a 120x120px file which is then squashed to 13px height

-- 
You are receiving this mail because:
You are the assignee for the bug.
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