That's still out of my reach. If I knew how to script this I would've done it

. I'm trying to learn from the posted scripts out there, but none of them apply to an array of images on the fly so I wouldn't know what to change/add even by trial and error (a real pitfall to learning php as you go with no schooling/A-Z training). It would be ideal if I just had the image directory to define and the reduce size function work with any file with a jpg extension.
Ultimately, I'd only have to add a width=$shrink to the img array and I'd be done with this. At least, that's how I imagine it.