handle no predefined image error