change image sizes to percentage