'-fx-background-image on scene builder

So I tried to change the background for a scene for my final project on scene builder. I tried changing the color of the background using -fx-background-color- and typing #3557 and it worked fine. But when I to do the same by changing the background with an image I wanted using -fx-background-image-, I struggled to change the background. Can someone tell my what is the right syntax for this?Here is the problem I am facing with



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source