Using the Preview app, you can do this for one image at a time or for multiple images at a time. If a website or app has an upper limit for the size of a photo file, try lowering the resolution first. The fastest way to reduce photo size is to reduce photo resolution.
How to reduce photo size by reducing resolution
How to reduce photo size by reducing quality.How to reduce photo size by reducing resolution.