Added support for images that are display:none; 

Fixes issue with bootstrap hidden-* and visible-*