Correcting path to images