Use real path of the image, fix problem with processing