Hey James,
You should try .src . SRC sets or gets the file location of the image.
Hope this helps!
Dara | Corvid Team