Simplify the way your editors may upload their pictures: no complex local procedure needed, let TYPO3 resize down their huge pictures on-the-fly during upload (or using a scheduler task for batch processing) and according to your own business rules (directory/groups).