Fix bug with GIF images in solr-thumbnail