Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#27647 closed enhancement (wontfix)

Get an attachment's URL while it is uploading

Reported by: anders99's profile anders99 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.8.1
Component: Media Keywords: close
Focuses: ui Cc:


Make the URL visible (so the user can copy and paste it) immediately upon that piece of media being added added to the queue - (rather than displaying it once it has uploaded). Essentially it would have to look for the filename and determine the file structure of the site, and feed the prospective filename back to the UI.


This would eliminate the wait time and workflow interruption whereby the user waits for a file to upload before being able to link to it in a post/page, etc.. Yes, the occasional upload will fail, in which case the user will need to find an alternative/fix links, but this is much preferable than having to wait. This is especially true for uploading a bunch of files for use in content. Especially when one is a powerpoint presentations, pdfs, large images, etc.. It only takes one medium sized upload in the queue tpo create a long delay creating content based around it. Having the URL display immediately for copy and paste with make it alot easier.

Thanks for your consideration, i encounter this issue often and feel this will make a huge difference for a lot of people. Apologies for not being a coder.


Change History (7)

#1 @anders99
10 years ago

#27648 was marked as a duplicate.

#2 @SergeyBiryukov
10 years ago

  • Type changed from feature request to enhancement

#3 @ericlewis
10 years ago

  • Keywords close added

Hi @andres99, thanks for the bug report.

I don't think we should do this. As you mention, the media won't exist on the server until the upload finishes, so we would be giving a link that isn't usable yet. Also, uploads can fail for many reasons (blacklisted filetype, upload space, etc.) so this could lead a user to a dead end.

Suggest close on this one.

#4 @ericlewis
10 years ago

  • Summary changed from Allow copy/paste of new media's URL immediately upon adding to uploader. (Huge Productivity Gain) to Get an attachment's URL while it is uploading

#5 @McGuive7
10 years ago

As an addendum to this ticket, I would love to be able to view/copy the URL of a newly uploaded media item once the upload is complete. It's not important to me that I be able to get the URL while the media is uploading.

There are two main reasons:

  1. Time - right now users have to click the "edit" link to find the URL on the media edit page. This is one extra click for a task that I have to do very frequently (e.g. when uploading a bunch of images for which I'll need to past the URL in CSS for background images).
  2. The "edit" link does not intuitively suggest that the page it leads to will contain a URL for the uploaded media. Many users may know this by now, but for the sake of making WP as intuitive as possible, it seems like this text should either change to be more instructive ( e.g. "Edit/Details"), or we should add more info/link to the uploaded media <li>.

I'm in favor of this second option (adding more info), and can see it looking one of two ways (or more):

  1. Add a link to immediately copy the URL of the uploaded media file:

  1. Add a copyable input/text display of the URL:

Last edited 10 years ago by McGuive7 (previous) (diff)

#6 @helen
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I'm disinclined to do this - while I understand the motivation, it's extra UI that isn't for the majority. We are also working toward getting rid of that old, clunky way of showing media items post-upload - it's a leftover from pre-3.5.

#7 @McGuive7
10 years ago

Plugin material I guess. Thanks for the feedback and explanation. I'm on board.

Note: See TracTickets for help on using tickets.