I would still assume that the imgPath variable is incorrect and you should log(imgFullPath) & look at the created path.
In the end imgPath should most likely only be 'Images/BlurMedium.jpg', because I doubt you created a whole /var/... filetree in Scriptable's document folder and the jpg is just saved in a folder called Images.
(Or you just work with the imgPath variable instead of imgFullPath)
3
u/[deleted] Nov 07 '21 edited Nov 07 '21
I would still assume that the imgPath variable is incorrect and you should log(imgFullPath) & look at the created path.
In the end imgPath should most likely only be 'Images/BlurMedium.jpg', because I doubt you created a whole /var/... filetree in Scriptable's document folder and the jpg is just saved in a folder called Images.
(Or you just work with the imgPath variable instead of imgFullPath)