[wp-trac] [WordPress Trac] #13372: Separate Image sizes for different post types
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 3 02:32:41 UTC 2012
#13372: Separate Image sizes for different post types
--------------------------------------------+-----------------------------
Reporter: brandondove | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version:
Severity: normal | Resolution:
Keywords: needs-patch dev-feedback close |
--------------------------------------------+-----------------------------
Changes (by MikeSchinkel):
* cc: mike@… (added)
Comment:
Replying to [comment:6 markoheijnen]:
> I think this ticket can be closed since the problem isn't the ability to
define a post type to an image size.
I will disagree with that. Our team has implemented what is effectively a
`register_image_type()` function and it is both solving a very real need
and working extremely well for us.
There are many cases in plugins you need to be limit based on image type
or to validate on image type. If I need to give a user the ability to
upload an image for a custom post types, let's say for a "Case Study" I
would like to be able to limit them to cropping to aspect ratios that are
appropriate for the ''"case study featured image"'', for example.
This requirement is pervasive in the work we are doing for our main
clients. We have it built it to our plugins but we'd far prefer to see
that requirement handled by an API in core, and I'm confident that core
would find many uses for leveraging it over coming releases.
> The problem is that everything is getting created on the fly. And we
should find a way to do that. See #15311
Yes, I can see that as another issue too ''(one our team has also
implemented)'', but it's a requirement that is orthogonal to image types.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13372#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list