Add jpeg to regular expressions