I tried to reduce the image into three categories:
1- Thumbnails 75px
2- Low. 250px
3- High 1024 px.
then I saved the image URLs inside the firebase database…
the Image itself I saved it into Cloudinary.
I used the codes bellow, put please is there any easy way to do that… instead of all the code which i did