This post was composed with a link to a Wired article:
https://lemmy.ohaa.xyz/post/1939209
Then in a separate step, the article was edited and an image was uploaded. The URL of the local image unexpectedly replaced the URL of the article. Luckily I noticed the problem before losing track of the article URL.
In the case at hand I posted an article, no image. Then I later returned to add an image. If there were a separate tab for posting an image users who add an image late might select the tab for image and assume their article URL is not lost but rather just not displayed in the image tab.
Not sure. If the limitation is borne out of Activity Pub then Lemmy’s only easy fix is to make the limitation clear and also warn users of data loss. Alternatively Lemmy could hide the image URL in the body in a spoiler or something on exported data to enable recipients to render the thumbnail. If it’s a Lemmy-driven limitation then of course another fix would be to add a separate field.
Lemmy already has a protective popup feature for other situations. If you start writing a msg and then try to navigate away from the form, Lemmy asks “are you sure you want to leave?” So the same mechanism could be used for “are you sure you want to delete your URL?” if you try to initiate an image upload.