Just fixed it. You have to set all permissions for the folders and files on the site. The directory permissions does not make a difference for the folder of the pictures. Set all for write, read and execute to on. Test the directory and the image in a browser. I could see the picture after all permissions were set and all media flies and background images were visible as well on wordpress.