You're very welcome.
Shortcuts are a powerful tool - in this instance providing a quick and easy method of reducing image size instantly. You can simply add the installed shortcut to Share Sheet, making the shortcut instantly available system-wide.
The Shortcuts User Guide will equip you with knowledge as to how to set-up, modify and use Shortcuts with your iPad and iPhone:
Shortcuts User Guide - Apple Support
You consider creating a copy of the shortcut; here you can experiment with modifying its steps to meet a specific need without changing the original (which can be kept as a "reference"). That said, if you mess-up the shortcut, just delete it and reload a fresh copy using the link I have provided.