you can try:
PHP Code: 
if(is_array($var)||$var==NULL$image 'image'