correcting top/bottom image file paths