# Check if the folder exists if not os.path.exists(folder_path): print(f"Folder '{folder_path}' does not exist.") return jpg_info