add debug image code