Don't try to initialize a gallery if there is no content