Resize, crop and cache images