Add image metadata functionality