default to jpg for large images