add deploy script and fix Image resize gif issue