Nextcloud images not displaying in Discourse

What’s the status on this? I’d love to be able to just dump a nextcloud link and then see it as a picture in discourse! I suppose we need a button in nextcloud which copies the preview link with added ?format=.jpg by default in the sharing tab?