mardi 3 mars 2015

Can we have an 'Update metadata' button in Image Gallery for all image instances?


{Note: This question is a followup of this one.}


It is possible to implement the following:


In WP go to Media | Library and select an image. The 'Attachment Details' window appear.


We have there in the right-bottom corner some buttons: 'View attachment page', 'Delete...' etc.


It is possible to add there a new button called 'Update Metadata/Alt Text+Description for all instances' ?


In fact it will work in the same manner with the normal save metadata procedure but for all instances of the same image (same URL/ID? - I'm not sure how WP 'knows' that there are siblings but it knows) just issue an SQL update against DB for all attachments with the same attachment URL (eg. mysite.com...\img001.jpg) or, better, parent(?) ID(?)





Aucun commentaire:

Enregistrer un commentaire