Move all images to LOCAL_IMAGES_BASE_PATH/all and generate images.json.
Input folder:
Uses the latest folder in RENAMED_OUTPUT_FOLDER, copying and resizing images into LOCAL_IMAGES_BASE_PATH at 640, 1280, 1920 and 3840 resolutions.
Uploads the resized folders to the specified S3 bucket.
Saves a continuously updated images-[date].json file (e.g. images-2025-08-18.json) with image metadata, tags and S3 URLs.
Retrieves the latest images-[date].json to display the newest images.
Waiting for process to start...