Fix relative image path.
Ignore irrelevant files.