return fresh image is no mode specified and cached version otherwise
Merge pull request #10 from homm/cache

Return fresh image is no mode specified and cached version otherwise