Yesterday I once again got stuck with a seemingly simple task that quickly turned out to be a veritable rabbit hole: In a client website the header images are managed using the 'resources' tab of a page. File references are stored in the 'media' column of the pages table in the database. The site is...