pic handler closes with .jpg