Page MenuHomePhabricator

Be sure to include img src height in embed code
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Click the "Use this file" (on the web) link.

What happens?:

We get an embed link to copy.

That link only has width, not height.

What should have happened instead?:

https://html.com/attributes/img-height/
perhaps says that is OK, if you include the CSS.
But you don't.

So as
https://www.w3schools.com/tags/att_img_height.asp
says, be sure to include both width and height.
See also https://www.smashingmagazine.com/2020/03/setting-height-width-images-important-again/

Other information (browser name/version, screenshots, etc.):

z.jpg (442×264 px, 41 KB)

Event Timeline

Please do first always try safemode before reporting issues here: https://www.mediawiki.org/wiki/Help:Locating_broken_scripts

This is the StockPhoto gadget. User scripts, gadgets, templates, custom CSS are local on-wiki content. Local content is managed independently on each wiki, by each wiki community themselves. Phabricator is mostly used for MediaWiki, MediaWiki extensions, or server configuration, or by developers and teams to organize what they plan to work on. This needs fixing on the local wiki. Hence I am closing this task here.

Whether this is intentional or not, this person has grabbed the ID of the 330,000 task, but the task is un-reproducible.

@I: Adding such comments is not helpful. Task ID is always irrelevant, and this issue is perfectly reproducible when you enable the StockPhoto gadget on Commons.