A simple way to proportionally resize an image using a percentage