ignoring jpgs