Add error code if no images found