I hardcode the width to 100px is just for testing the output result, so removing the width in the patch works for me. But we might need to set the max-width to the image or other type of attachments in follow up UX patch.