Only save PNGs and JPEGs in the thumbnail filters