Fix image index display (Fix #6)