finding image id