testing alerts for imgSizng fnction in main.js