[wp-testers] Gallery attachments in wp3.5

Philip M. Hofer (Frumph) philip at frumph.net
Fri Dec 21 22:49:31 UTC 2012


Lovely.   Unfortunate.

Time to do some research on finding a way to have what gallery images are 
set to be attached to the posts data again.




-----Original Message----- 
From: Otto
Sent: Friday, December 21, 2012 2:34 PM
To: wp-testers at lists.automattic.com
Subject: Re: [wp-testers] Gallery attachments in wp3.5

On Fri, Dec 21, 2012 at 2:55 PM, Philip M. Hofer (Frumph)
<philip at frumph.net> wrote:
> Previous to 3.5 attaching images to a post and *not* having it in the
> [gallery] in the post kept them attached to the post.
>
> in 3.5, those attached to the post galleries are not being recognized so 
> the
> 'add media' button when it comes up only says "create gallery" yet there 
> is
> one (as the post has attached images to it)
>
> then when using the create gallery button it really only adds [gallery
> id="#,#,#"] to the post and doesn't really attach them to the post
>
> .. is this right? how it is nowadays?


No, it still attaches them to the post, same as always. The [gallery]
code will even behave the same in that respect.

If you want to see the images attached to the post, pick the Insert
Media selection, then the Media Library tab, then change the dropdown
to "Uploaded to this Post". Voila.

With 3.5, the concept of a "gallery" has been divorced from the images
attached to the post itself. No longer does the post attachments
really define the gallery, but the shortcode itself defines the
gallery. To edit an existing gallery, pick the Visual editor, click
the gallery placeholder in the post, and in the upper left of that,
click the "Edit Gallery" button. This will bring up the gallery editor
with the gallery in place, for editing. This works even on the older
[gallery] only shortcodes, for backward compatibility, but new
shortcodes generated should have the IDs in them.

-Otto
_______________________________________________
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