Markdown base62 image name vs. full <img> path?

AI-generated summary

filip is experiencing an issue with image URLs when cross-posting from their Discourse forum to their website. The Markdown image tag uses a base62 filename, but this cannot be used in a direct link. The absolute image path still uses the old hex encoding. gerhard explained that the Markdown engine converts the short filename into an actual HTML link and that it’s not possible to switch back to the previous behavior. filip is looking for a solution to easily get the cross-postable URLs without having to click multiple times, as they want to avoid duplicate image storage when posting on WordPress via the wp-discourse plugin.

Hi,

An image uploaded through pasting has a markdown tagged address :

![image|302x124](upload://
1UTkm8uk9wWYvKeuEgiTXMJIuTG.jpg)

which seems to use the shorter base62 filename as discussed here.

But, using the base62 in a direct link does not work. Should it?

https://forum.imade3d.com/uploads/default/original/1X/
1UTkm8uk9wWYvKeuEgiTXMJIuTG.jpg

The absolute image path still seems to be the old hex encoding, as this does work:

https://forum.imade3d.com/uploads/default/original/1X/
0d708ae22e111a1046c958d7049e31881cc21ca4.jpg

How can I reconcile the two? How does this work?
Is there any setting to switch back to using the hex encoding in the md tags?

I like to cross-post images from my discourse forum on my website, and this makes it difficult to get the cross-postable URLs.

Thanks!

No, that’s currently not possible.

The Markdown engine converts the short filename into an actual HTML link that points to the file. I’m sorry, it’s not possible to switch back to the previous behavior.

The easiest solution is to copy the URL of the image after posting.

Blimey. :crying_cat_face:
Thanks for the response.

This means that what was great is broken for me now, and I don’t see any easy solution. (Devoid of a lot of clicking.)

I like to host my images in discourse so that when I post on wordpress, and it links back to discourse via wp-discourse plugin, there’s no duplicate image storage.

If I figure something out, I’ll report.