Fixed photo caching issue.