Do not resize images when not required
Autocommit selectively