In the Project Settings (Edit > Project Settings) you can define your default project directory. You can then refer to it with ’./’ in your file paths, for example ./test.jpg for an image called “test” in your default project directory.
You can also click the Script Directory button to create an expression that sets your project directory to be the directory where your current script is saved.