Hey again Morgan. Sorry for the delay since my previous reply. Its been a busy week here. One that actually started late last weekend -- gah!
I finally had some time to review the code again. This time making further corrections to get everything working as expected.
I've updated my previous post to reflect those changes. It can be found at:
https://www.ubbcentral.com/forums/u...-pixel-dimensions-for-6-7-1-1#Post261065Cheers