Resize mechanism change for small image