Fix image formatting