Fixed caching of photo attachment
Added files to ignore