New functionality for custom tags before caption and title. Needs testing.