Standardize image sizes in galleries