|Reported by:||PorridgeBear||Owned by:|
I have been developing themes for clients lately that require the same image across the theme in varying places. A good example is an event site where the image is a badge/sticker showing the price of the tickets. This gets output on various pages in varying locations.
get_attachment_link is perfect as I can plugin a single ID and use the graphic wherever. However, the ticket prices change as the event gets closer and the graphic needs to be updated which breaks the theme in production when my client does so as a new ID is generated.
This doesn't make too much sense to me. I've worked with and developed CMSs of all kinds and usually the ID is preserved.
I would at least like the option, perhaps a checkbox, to indicate I want to reupload a new image. I think it's more common that an update on a media item would be to modify the same logical graphic rather than just replacing it with something entirely new.
I found the following plugin but I feel this really ought to be core.
Thanks for your consideration.