setting right path for images