Opened 16 years ago
Closed 16 years ago
#7520 closed enhancement (wontfix)
Image default options for size, alignment and link type
Reported by: | tellyworth | Owned by: | azaozz |
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | normal | Version: | 2.7 |
Component: | General | Keywords: | needs-patch dev-feedback |
Focuses: | Cc: |
Description
This adds options to Settings/Misc that let you specify default values for the image size, alignment and link type (post/file/none). The, uh, default defaults are as per 2.6 behaviour.
Further work is needed to apply the defaults to the upload form, this currently works only in the media library tab.
Attachments (2)
Change History (15)
#3
@
16 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
This is option bloat - we should just remember and default to whatever you used last, just like with Visual / HTML.
#5
@
16 years ago
Fair enough. Removing the hard-coded defaults isn't a bad thing to do. I'd suggest keeping that part, move them to hidden options, and drop the UI. That way if someone wants to they can write a plugin that provides a UI for setting them -- or overrides them in some other way with filters.
#7
@
16 years ago
- Owner changed from anonymous to azaozz
- Priority changed from normal to high
- Status changed from reopened to new
#10
@
16 years ago
- Milestone changed from 2.7 to 2.7.1
- Resolution fixed deleted
- Status changed from closed to reopened
The new hidden options aren't working correctly. If you look at the HTML, it looks like the proper radio buttons have a value of checked="checked", but something else is overriding those selections. Is this a bug, or was tellyworth's suggestion to hide these options rejected?
If it was rejected, I want to reopen this bug and argue in favor or tellyworth's suggestion. I disagree that having these default options is "feature bloat". Every site I have worked on has a most-used behavior (thumbnails links to the post URL, for example, or medium images with no links). Every now and then, the user will need to deviate from this (adding a large image with a link to an external web site, for example). A week later, when the user logs in, they expect it to work the way it usually does. They won't remember whether the last time they uploaded an image, they used the most-used behavior or something different. The users expectations are not shaped by what they did last week, and I would argue that the applications behavior shouldn't either.
(I would also make this same argument regarding the Visual Editor / HTML Editor. Every single time I switch over to the HTML editor, save something, and navigate to a different post, it is a jarring experience that goes against my expectations when the HTML editor loads. But since there are only two options and most of my clients don't use the HTML editor, I don't think it's a big deal.)
Guh. No writing patch descriptions before bedtime. This *does* work for the upload form, and the gallery tab too. The 'From URL' form for inserting an external image is the only part that doesn't respect the options. That needs to be added but I'd like to see the patch go in as-is for testing and feedback first.