Here’s a little Python script that creates thumbnails.

import os
from PIL import Image

def resize(input_dir, output_dir, thumbnail_size=(720, 720)):               # set to 720p
    os.makedirs(output_dir, exist_ok=True)                                  # output directory 
    for filename in os.listdir(input_dir):                                  # loop through files 
        if filename.lower().endswith('.jpg'):                               # check if JPG
            with Image.open(os.path.join(input_dir, filename)) as img:      # open image
                img.thumbnail(thumbnail_size)                               # reduce to thumbnail
                img.save(os.path.join(output_dir, filename))                # save thumbnail

if __name__ == '__main__':
    input_directory = '.'                                                   # input directory
    output_directory = 'output'                                             # output directory
    resize(input_directory, output_directory)                               # resize images