2nd attempt at shrinking image sizes