SyntaxFix
Write A Post
Hire A Developer
Questions
"/tmp/test.jpg" is not the correct path – this path starts with / which is the root directory.
"/tmp/test.jpg"
/
In unix, the shortcut to the current directory is .
.
Try this "./tmp/test.jpg"
"./tmp/test.jpg"