Opened 3 years ago
Last modified 13 days ago
#11895 new feature request
Allow more specific image size editing
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | has-patch ui-feedback |
| Cc: | frankgroeneveld@…, dromsey@…, gvenk, robert@… |
Description
Instead of allowing only some combinations of 'thumbnail', 'medium', 'large', 'full' I would like to have the ability to select which of these I would like to crop. So for example, only 'thumbnail' and 'medium'. With the current trunk this is not possible. I created a patch that adds this ability by changing the radio boxes of "apply changes to" in the image-edit page to checkboxes for each of the 4 possible sizes.
Attachments (2)
Change History (18)
frankgroeneveld — 3 years ago
comment:1
frankgroeneveld — 3 years ago
- Cc frankgroeneveld@… added
comment:2
frankgroeneveld — 3 years ago
- Keywords image resize editor size thumbnail large medium full removed
- Milestone set to 3.1
Use of the .dev.js scripts can be enabled by adding define('SCRIPT_DEBUG', true); to wp-config.php.
Media features are being held until 3.1, when the media UI is likely to be overhauled. For what it's worth now just to keep in mind, the patch only accounts for thumbnail/medium/large, but there is an API to specify other sizes as well.
comment:4
frankgroeneveld — 3 years ago
I didn't even know you could specify more sizes, probably because there is not interface for that. This patch does what I need, so I keep using it until the media overhaul.
Thanks.
dup of #8599, no?
comment:6
frankgroeneveld — 3 years ago
@Denis-de-Bernardy No, that bug adds possible extra sizes, while this patch allows you to have better control over which sizes the "edit image" -> "crop" feature applies to. See screenshot below, my patch replaces the original radioboxes in the right bottom with the checkboxes for all 4 default sizes.
frankgroeneveld — 3 years ago
- Milestone changed from Awaiting Triage to 3.1
I like this. Late for 3.1 though.
comment:10
goto10 — 17 months ago
- Cc dromsey@… added
This patch still works (altough the javascript offset has moved a little bit).
- Keywords ui-feedback added
comment:13
gvenk — 15 months ago
- Cc gvenk added
comment:14
bobsoap — 13 days ago
- Cc robert@… added
Is this still being considered for a future release? There seems to be a working patch sitting here since 3 years.
comment:15
markoheijnen — 13 days ago
Hopefully in version 3.7 but the patch does work but forget custom image sizes. Also the whole editing experience need to change to make it better.
comment:16
SergeyBiryukov — 13 days ago
Related: #22990

Note that I modified the image-edit.dev.js, so in order to test this you should regenerate the compressed version (image-edit.js) or symlink to the .dev.js version.