Hi there,
Thanks for reaching out. We're here to help.
Which version of Photoshop are you using? What is your operating system?
You can try out batch saving process. Make two folders, one with the pictures the other one empty.
Go to the Menu bar > File > Automate > Batch. A new batch window appears. Record your actions, such as the setting quality, size, export preferences, etc. Once you're done with the action, stop the recording and try to automate it. You will need the target folder with all the pictures and the destination folder where the files are saved.
You can check this article for the complete overview: https://helpx.adobe.com/photoshop/using/processing-batch-files.html
Let us know if this helps.
Regards,
Ranjisha