id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 34396,Gallery shortcode : make image captions relative to the current gallery,Fab1en,,"In the media frame, the ""Caption"" field is used to set a caption for images. But this field has several other effects that are not always intended by the website author. * Changes to this field are saved on the database (in the excerpt field of the attachment post) as soon as the field is unfocused : no preview is possible, changes are put online directly. Changes are still applied even if ""Update"" button is not clicked. * For single image insertion, caption is saved in the post content, inside the [caption] shortcode. But for multiple images, caption is saved globally, not inside the [gallery] shortcode. * When modifying a gallery, changing the caption field right under the image also updates the caption field on the right panel, and saves it globally when the focus is moved. So even when the ""Update gallery"" button is not clicked, the changes are still saved in the database, but they are not reflected in the editor until the page is reloaded. * When an image is use in several galleries, updating the caption associated with this image in one gallery also updates the caption on the other gallery. This is very different from the behavior of other fields displayed on the right panel (columns, link to, size) that change only the current gallery. * Modifying the caption field is the attachment details edition view or in the media library grid view will change the caption used for this image in a gallery.",enhancement,new,normal,,Gallery,3.5,normal,,,,administration