Auto-resize now works for multi-image