Backwards compatibility for new gallery images metabox