Added image path caching for higher speed in navigate.