Add padding option for scaled images

I've added a padding option for the scaling. Works for me :-)