map jpeg to jpg
allow jpeg as image