Wikitext-VSCode-Extension icon indicating copy to clipboard operation
Wikitext-VSCode-Extension copied to clipboard

Previewer not loading all media on VSCode

Open MoonnShade opened this issue 1 year ago • 3 comments

Hi,

When using the preview function of this extension, the preview page is only loading the first 3 media files. All other files below the first 3 on the page display as empty space. You can still click them if the have links, for example, but they do not show the media itself.

Example:

First media file (video) imagem

Code: imagem

4th media file (image) imagem

Code: imagem

Is this a known issue with VSCode or the extension? Is there a known fix or limitation?

Thanks for the help

MoonnShade avatar Sep 04 '24 22:09 MoonnShade

If possible, could you tell me the address of the host website?

Frederisk avatar Sep 06 '24 01:09 Frederisk

If possible, could you tell me the address of the host website?

Yep! This is the host: otogi.fandom.com

(The website link would be: https://otogi.fandom.com/ )

MoonnShade avatar Sep 06 '24 13:09 MoonnShade

This link will use the API to convert four images to HTML: https://otogi.fandom.com/api.php?action=parse&contentmodel=wikitext&text=[[File:With%20Toka]][[File:With%20Toka]][[File:With%20Toka]][[File:With%20Toka]]&format=xmlfm

Obviously, there is something wrong with the content of the fourth picture:

<img
src="data:image/gif;base64,R0lGODlhAQABAIABAAAAAP///yH5BAEAAAEALAAAAAABAAEAQAICTAEAOw%3D%3D"
.../>

I'm not sure if this is a bug from this site or from MediaWiki, but it's certainly an upstream issue. I may need to spend some time investigating it, or if possible you could contact the technical administrator of this site to confirm if any MediaWiki Extension is causing the problem.

Frederisk avatar Sep 08 '24 09:09 Frederisk