moved image sizes and crop sizes to config

also removed photo object from cacheImage