Solved problem with Url of images, deleting spaces. Refactoring.