Change regex pattern to match image files.

I've just made [image formatter for Drupal](https://www.drupal.org/project/baguettebox) based on this library. Everything works fine for existing images. But it doesn't work if we are dealing with derivative images that are not cached yet. For security reasons Drupal requires special image token to be presented in url.