Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#11408 closed enhancement (wontfix)

Add Media should open Gallery if media is already uploaded

Reported by: caesarsgrunt's profile caesarsgrunt Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9
Component: Media Keywords:
Focuses: Cc:

Description

I upload all the images for my post, then go through adding them to the post. For each one I click Add Image, and it takes me to the Upload page. I then have to click Gallery to find the image I want to add.
This is particularly annoying since I normally have a slow internet connection, but it's annoying even with a fast connection.

Expected behaviour :
If images have already been uploaded for a post, then clicking Add Image should open the Gallery tab.

Change History (10)

#1 follow-up: @scribu
15 years ago

  • Milestone changed from Future Release to 3.0

+1, if a lightbox is still used for this.

It will require a clever hack to load the desired tab directly.

#2 follow-up: @azaozz
15 years ago

Actually that's easy to do: add &tab=library to the button's href (from a plugin). The whole uploader UI will likely change in the Media update so this would probably be handled too.

#3 @miqrogroove
15 years ago

Depends on #11284. You're going to crash browsers with this.

#4 in reply to: ↑ 2 @scribu
15 years ago

Replying to azaozz:

Actually that's easy to do: add &tab=library to the button's href (from a plugin). The whole uploader UI will likely change in the Media update so this would probably be handled too.

True. I was thinking about this usecase:

  1. User edits a post with no images in the gallery (the url is &tab=upload)
  1. User adds an image to the gallery and then closes the box
  1. User clicks the Add Image button again (the url will still be &tab=upload)

You would have to change the URL through JS just after the first image is added to the gallery.

#5 in reply to: ↑ 1 @caesarsgrunt
15 years ago

Replying to scribu:

+1, if a lightbox is still used for this.

It will require a clever hack to load the desired tab directly.

Oh, certainly, lightbox should still be used. Just open the Gallery tab instead of the Upload one.

Easy enough to do by changing the URL with JS, I should think.

#6 @hakre
15 years ago

We might store the last-opened tab of the lightbox in a cookie / javascript variable and have it open the next time.

#7 @hakre
15 years ago

Related: #6883

#8 @janeforshort
15 years ago

For people using multi-upload into a gallery and then singly dropping images into a post, your suggestion makes sense, but for people uploading single images when they get to the place in the post they want to add them (more common among "regular" vs. power users), making this change would create more work for them (and if you consider that non-power-users are even more likely to have a slow connection...). I vote we close this as wontfix. When we circle back to the uploader after the merge, hopefully we'll pick up where we left off, with the plan to ditch the lightbox and go with an inline uploader.

#9 @nacin
15 years ago

+1 for wontfix, for now.

#10 @nacin
14 years ago

  • Milestone 3.0 deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.