How to | Create a Folder of Thumbnail Images
A very common batch processing task is to reduce the dimensions of a set of images in one or more system folders, in effect constructing thumbnail images. The Wolfram Language's file operations, Import, Export, and Thumbnail, combine to give you an effective way to do this programmatically. In fact, Import and Export are integral to most batch processes in the Wolfram Language.
First, get a list of all the images at a specified location. This finds the images in the Wolfram System ExampleData directory, and returns the full path for each:

https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-bhh1eg
Use FileNameTake to see the file names without the full path:

https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-dhiftq

You can now create thumbnails from each image and save them in an alternate directory. Here, a directory is created from within the Wolfram System. Conveniently, CreateDirectory creates a directory in the default area for temporary directories on your computer system:

https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-f9nr2e
Change the current working directory to the newly created temporary directory:

https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-y40tj0
Import one of the images from the source directory:

https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-h1c2td
Use Thumbnail with "Tiny" to create a very small thumbnail version of the original image:

https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-lfqlb7

Save the thumbnail using Export. You must specify the file name to save to, the image to export (th in this case), and its file format:

https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-bn5sd1

Using any suitable looping construct, this sequence of steps can be performed on any number of files and directories. Collect the individual steps in a single nested expression and iterate over all the files in the chosen directory:

https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-oe4xq9

Use FileByteCount to determine the byte count of each thumbnail:

https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-hu8r2

For comparison, here are the byte counts of the original files:

https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-gex884


https://wolfram.com/xid/0dy1dta11swxdd91i06sv5e204gxqqbw084hic-5p3kcd
