fix image-only view handling
Merge pull request #47 from jgsmith/master

fix image-only view handling