[wp-trac] [WordPress Trac] #23041: Images Don't Become Attached When Inserting a Gallery
WordPress Trac
noreply at wordpress.org
Fri Jan 4 15:18:15 UTC 2013
#23041: Images Don't Become Attached When Inserting a Gallery
--------------------------+--------------------
Reporter: miqrogroove | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5.1
Component: Gallery | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+--------------------
Changes (by jond3r):
* cc: jond3r@… (added)
Comment:
My two cents: I think it is valuable to be able to view a gallery one
image at a time using the attachment page, and navigating using next_ and
previous_image_link(), which in its current implementation requires the
same post parent on all images.
Hopefully this can be solved reliably later via #22960, #23044 and others.
In the meantime the original proposal in this ticket would offer an
improvement. I was thinking along two ways of solving this. Either via a
new AJAX call when the gallery is inserted or possible better (and
simpler?) when the post is updated, by parsing the content for gallery
ids. The latter way could be implemented as a plugin, if desired.
Setting "Uploaded to this post" as default as in attachment:23041.diff is
better than nothing. Even better would be a possibility to disable the
(All) "Images" option (by a theme/plugin), which is really the option that
causes all trouble. - But this would exclude unattached images, which is
not ideal, so these should be possible to include in some way, which is
probably not easy to come up with at this time...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23041#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list