Fix class Thumbnail Resizer for cache generated images #172