support for files without coverpage tag (use first image available)