commit resize img