Page MenuHomeMiraheze

<img> code no longer works
Open, NormalPublic

Description

Previously I could use <img> code to resize the image. It no longer works.

Simply paste the following code in the wiki page:
<img src="https://imgbox.com/images/imgbox_large.png" height="200" width="300">

Expected:
An image with 200px height and 300px width

Actual:
<img src="

imgbox_large[1].png (55×201 px, 5 KB)
" height="200" width="300">

Event Timeline

R4356th claimed this task.
R4356th triaged this task as Normal priority.

This should have been broken since last year when the configuration was changed to disallow the img tag, which AFAIK, has been deprecated by upstream. Is there any reason you simply can't use Wikitext?

This should have been broken since last year when the configuration was changed to disallow the img tag, which AFAIK, has been deprecated by upstream. Is there any reason you simply can't use Wikitext?

I'm not aware of the alternatives. I need to use <img> code to resize the displayed images. I believe resize could be done if the image is hosted locally.

How could I resize an external image in wikitext? Thank you.

<img> code has been used in our wiki site. We need to find an alternative to fix all those broken codes.

I understand. The configuration change could be reverted on your wiki for now but that is not a long term solution. How much is the img tag used on your wiki? If a lot, it is possible to provide a parser function for this.