Make WordPress Core

Opened 11 years ago

Closed 10 years ago

#24168 closed enhancement (wontfix)

Custom image sizes don't automatically populate in 3.5+ media modal

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


Seems a bit redundant to have to filter (image_size_names_choose) the default list of attachment sizes to get a custom image size in the select dropdown.

Change History (3)

#1 @SergeyBiryukov
11 years ago

The filter was added in [18802] (for #18520).

As noted in ticket:22911:1, it's not a regression (3.3 and 3.4 worked the same way).

Closed #15668 as a duplicate.

#2 @mboynes
10 years ago

  • Cc mboynes@… added

I don't think that they should automatically populate. I would say that, without any exaggeration, 99%+ of the time that I call add_image_size(), I don't want them in that dropdown. I would say that almost every single plugin that adds a new image size probably also does not want its sizes selectable in the media modal. If I ever do want a custom image size added to that dropdown, I want to be quite deliberate about it (regarding what it says, the order in which it appears, etc), and the filter is the ideal way to do that.

Personally, I think that this should remain as-is.

#3 @helen
10 years ago

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

I think given that this is how it's behaved for a long time, it should stay that way. The confusion of things suddenly appearing that previously didn't, and perhaps shouldn't, is not desirable.

Note: See TracTickets for help on using tickets.