Hmmmm, well I can't get that working with 'image/jpeg' either. It does work with the
req.url.endsWith('.jpg')
however, so I will keep it configured that way and maybe return to this as a learning opportunity later.
Thanks, all, for your input and time.