When calling the attachment api: https://<highqinstance name>/api/13/attachments?contenttype=tasks&contentid=453
We don't get an ID for images, whereas we do for other file types.
It looks like the id is available as the documentID parameter of the imagelink value but ideally it should be included as a separate value.