broadcast/index images output and php error correction