Changed the implementation of imageIdentifierExists to use HEAD on the image instead of using the images resource