Image resize links in preview don't work when the image itself is a hotlink

When using a hotlinked image (as per below, for example) the “image resize” buttons in the composer hit the link target instead of performing the resize:


example:

[![image|434x434](upload://xCJJt9wdHs2FmTEth203uwIQAvd.jpeg)](https://en.wikipedia.org/wiki/Wormhole)

image

5 Likes

https://github.com/discourse/discourse/commit/0058a15266ac959308541e7bfbc3a932615e8b68

It’s now fixed in the above commit.

5 Likes