Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#59097 new feature request

Upload via link

Reported by: thedustry's profile thedustry Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 6.3
Component: Upload Keywords:
Focuses: Cc:


In the media part of the admin panel, add a way to upload files by pasting in the link

Change History (3)

#1 @NekoJonez
8 months ago

Thank you for your idea, but currently, it's a bit too vague. What exactly do you want to upload via URL? For example, you want if you paste in a direct hotlink to an image that the image is uploaded to your media library?

What happens if an user tries to use that to avoid copy protection to their media? Also, what happens if an user pastes a link: ?

I feel like this is a bit too vague of a feature request... Could you elaborate more?

#2 @thedustry
8 months ago

Yes, If I past an image to a URL, or a PDF etc it will download it. I believe it should check the content-type header and if it is a known media type, ie pdf, png, svg, webp etc it should download it. If it is text/html, show a warning that your downloading a html page, not a media file and two buttons, download anyway and cancel. I don't understand what copy protection you are talking about. If the server returns a file (not a webpage), the user can just download said file with the browser. There is no way to add copy protection to a png file if it is just served from a webserver. The server could serve a webpage that embeds said image, but this would just show the html warning.

#3 @thedustry
8 months ago

If it is an unknown mime type, show a different warning

Note: See TracTickets for help on using tickets.