Added the ability to ignore image formats by passing settings to the wp_query.