To change the resolution of a photo in Photoshop follow the steps given below:
Once the file has been opened in Photoshop, select Files and then Export.
Select Web Legacy and set JPEG as the extension.
Click the Progressive checkbox after setting the quality bar to its maximum value.