Add template.lft to cache.
Fix image type fields. Version v0.8.6