Temp solution for photo resizing but need to integrate with backend