Example 4

The script, in its current form, will work with up to eight images.