Fix image paths and filenames