Solve issue of not getting images on server