Added percentage resize option

Resizes the images based on a percentage of their original size while maintaining aspect ratio.