add null check to image metadata
changed securegraph to use strings for ids
add link to try