A little weird bug. If I insert the following link (Tabula Peutingeriana - Wikipedia), I will get this:
Good debugging. # appears sometimes within URLs :). I thought it was because of false .jpg
ya the .jpg tells kinopio it’s an image, but the url is not a valid image source for the browser. you can get the real url of the image by clicking it again
test showing both invalid image url failing and valid url being used:
Actually, I wanted link to the page from Wikipedia with necessary information about the image, not the image itself :). There is a workaround using markdown but I am thinking that this could happen more people since this is Wikipedia. Not sure how to solve it. Maybe to give an exception for url that are 1) on Wikipedia, 2) end with File: … .
in this case, you could use the wikipedia page link for that entry:
https://en.wikipedia.org/wiki/Tabula_Peutingeriana
it looks like wikipedia has a bug where closing a lightboxed image doesn’t update the page url. hopefully they fix that soon, might be worth filing a report with them on it
No, I wanted just the specific page for the image :). Like this one:
Unfortunately, their URL ends with this:
File:Part_of_Tabula_Peutingeriana.jpg
Yeah, it is weird.
ya it’s def not a valid image url, i could whitelist this in future though to treat this type of url as a regular url instead of an image
I think it could be useful to whitelist it - since probably more people will insert links to these weird urls from Wikipedia. It seems to have quite a clear pattern, luckily.
exception added using this regex to check RegExr: Learn, Build, & Test RegEx