set jpg for all requests