fix relative path for images on main partial