"Show more" link for uploading an image from the web

Two questions about this:

  1. What is the main difference between the two fields?
  2. And why does it still say show more after you already clicked it?
3개의 좋아요

The first field is where you put a link to the actual image. The second field is where you put a website to redirect someone to when they click on it.
For example, the following images are the same, but clicking on them will take you to different sites.

Probably a simple mistake in the UI.

5개의 좋아요

Yes, that link should say something like “Show less” after the modal window has been expanded.

5개의 좋아요

I’m not even sure we even need that “feature”?

For example, if you upload a txt file from the web and add a link, then you generate this broken markdown

[![](https://www.discourse.org/robots.txt)](https://www.discourse.org/)

We could only show the show more toggle when we detect the user has pasted a link to an image (based on the extension) but that’s not 100% bullet proof.

7개의 좋아요

Probably we should remove it?

1개의 좋아요

@dan can you add to your list to remove this show more “feature”?

4개의 좋아요

Submitted a PR to remove this:

https://github.com/discourse/discourse/pull/8470

5개의 좋아요