make sure we dont choke on dsstore and only process jpg