added more options for isImage validator