Hi
I am trying to migrate images from the previous website to the EasySocial. There are thousands of them, so I am hoping for automatization of this process. I reckon API use - so the photos can get resized to all of needed sizes that Easy Social requires. Photos also need to be assigned to the users (there is thousands of them also

).
If there is no such thing as ready API available, do you have any rules or tips for writing it from scratch?
Also, I would need to use it, to choose which photos are going to be avatars and which ones are album photos.
Many thanks
Martyna