photo resize, upload, store is working