Switched back to catching only JPEGs.