Maintain backwards compatibility for non-HTML5 galleries.