Fix broken image cache and update file type lists