More image layout modes and dynamic resizing