Resize, align and reset
Drag the bottom-right grip to change a single image's width, click the arrows beside it to change alignment; both write parameters instead of touching the file structure.
The corner grip
Dragging the corner grip writes ag:width on release.
Hover the bottom-right corner, then drag: the image scales proportionally, and on release ag:width is written and the current alignment is pinned.
- One drag produces one undo step.
- The caption widens together with the image, so text and picture never fall out of step.
- Double-click the grip to clear
ag:widthand return to automatic width, keepingag:side.
Alignment arrows
On the empty side of an image a ‹ or › arrow appears: the left one aligns left, the right one aligns right; a centred image shows one on each side.
Clicking writes both ag:side and the current width — otherwise automatic routing could move a narrowed image back to the centre.
A full-column image shows no arrows: it has nowhere to move. If the image is so wide that an arrow cannot fit in the free space, the arrow is drawn inside the image and only appears on hover.
Where gestures do not work
| Situation | Why | Instead |
|---|---|---|
| Gallery cells | the row decides the width, the grip is suppressed | drag the divider, see Gallery handles |
| Images in list items | no grip, no arrows | write ag:width by hand |
| Table cells | the table decides the width | only ag:crop applies |
| Reading view | gestures exist only in Live Preview | — |
Turning them off
Two settings disable both controls:
| Setting | Default | When off |
|---|---|---|
| Drag-to-resize in Live Preview | on | the corner grip is left to Obsidian |
| Show alignment arrows | on | no ‹ › appear |
ag:width and ag:side can still be written by hand; only the mouse entry points disappear.
Clearing manual tweaks
- One image: the "Clear image caption and layout" command.
- The whole note: "Restore document default image style", one undo step.
See Dialog and reset.