$("#https://nabytekpiza.cz/wp-content/plugins/ultimate-fb-slider/assets/facebook-icon.png").attr("https://nabytekpiza.cz/wp-content/uploads/2018/04/fb_long.png", "path/to/newImage.jpg");