Subject: Re: [wp-testers] Change "Attached to" Gallery?

DD32 wordpress at dd32.id.au
Tue Dec 9 00:50:22 GMT 2008


2.8 or 2.9 its likely i would suggest :)

Media handling will be getting an overhaul for 2.8/2.9, i'm not sure how
much of it will show through in 2.8 though.. depends on how much work gets
done (There wasn't enough time in 2.7 for it)

Using a serialized array is really bad for performance in this case, as you
cant quickly look it up when theres a high number of attachments.

The current attachment->post is based on the post_parent field in the
database, which limits it to having 1 parent.

I'm working on using the Taxonomy system as a Gallery system, I've got the
core-parts working, just need to get around to finalising the UI and
releasing it, I'll offer it up for inclusion into the Core for 2.8, but
someone else will probably have thought of a better way to manage it during
the redesign anyway :) - I should note, that ShaneF attempted to get
multi-gallery support into 2.7, But there wasnt much of a following behind
getting it in in its then current state.

2008/12/9 Paul Robinson <pablorobinson at gmail.com>

> Hi,
>
> I wouldn't think it'd be hard to just add extra id's to a single object...
> >
>
> Well yes, but no. Thinking about it a little more, you could use a
> serialized array which would allow you to store more that one ID in a
> single
> field, but the problem would then be the code that would understand that
> array, At the minute it only takes one ID, but it would have to be able to
> take multiple ID's. Then you would need to build some sort of extention to
> the admin... Sorry, sometimes I end up getting away with myself.
>
> I would love for WP to add it in a later version, but for the minute it is
> just a dream. :(
>
> You might have just given me a great idea for a plugin though. Hmmm. :)
>
> Thanks.
>
> Paul
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list