File talk:Thumbs up font awesome.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Technical problem with this file[edit]

Hi all,

Well I've got a problem with file. We are trying to use it at Wikibooks, with the template Wikibooks:Template:End-user Computer Security/Upvote downvote section links. Now the problem is that the image is not rendering, depending on scaling factors and browsers. I have examined the HTML code, which I will now paste, this is the img tag for the thumb up icon:

<img alt="⬆ Up-vote section | error: no section name specified" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Thumbs_up_font_awesome.svg/16px-Thumbs_up_font_awesome.svg.png" decoding="async" width="16" height="16" class="upvoteicon" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Thumbs_up_font_awesome.svg/24px-Thumbs_up_font_awesome.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Thumbs_up_font_awesome.svg/32px-Thumbs_up_font_awesome.svg.png 2x" data-file-width="512" data-file-height="512" />

Now the problem is that it is trying to access the 24px version of this file with the srcset attribute, that is at:

https://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Thumbs_up_font_awesome.svg/24px-Thumbs_up_font_awesome.svg.png

Now the 24px version is a blank! So it doesn't render at all.

My question is: would the easiest workaround perhaps be to just re-upload the file? Or would it fail again if I did so? I've tried looking on Phabricator, and I couldn't see the problem reported, so perhaps this is just a one off problem. Mrjulesd (talk) 11:59, 1 May 2020 (UTC)[reply]

Note: I have reuploaded and this seems to have fixed the problem: the 24px icon is now rendering. Mrjulesd (talk) 11:38, 2 May 2020 (UTC)[reply]