a solution for issue #64 (image item_id not backward compatible)

a possible fix for #64 by querying for image files associated with the cert instead of relying on item_id