switch views or hide block based on content type
It's possible with views:

#1 Configure field with images:



#2 Add contextual filter:




#3 Save the contextual settings and then add "No result behavior':



#4 You just need to display a default image in case the other content type than basic page, so you can apply the Unfiltered text, and type the html source of the image:



That's it!