26th commit - Created getCachedImage function.