Skip to content

Releases: lishuai1993/DragImageAutoArrange

1.0.6

Choose a tag to compare

@github-actions github-actions released this 25 Sep 03:49

English

  1. Fix inline images being scaled up when switching to reading mode.

中文

  1. 修复行内图片在切换到阅读模式后放大的问题。

1.0.5

Choose a tag to compare

@github-actions github-actions released this 23 Sep 06:09

English

  1. Fixed multi-image row undo: Undo operations are now stable and reliable for menu actions (rotation, alignment), click actions (double-clicking the divider or baseline), and drag actions (resizing via the drag handle or divider).
  2. Optimization: In Reading Mode, inline images are now aligned to the font's descent line, with their bottom edge flush with the text baseline.

中文

  1. 多图行撤销功能修复:旋转/对齐(菜单操作)、双击分隔线/均衡线(点击操作)、拖拽手柄/分隔线缩放(拖拽操作)等对应的撤销操作稳定可行。
  2. 优化:阅读模式句中图片改按字体下降线对齐,底边与文字下沿齐平。

1.0.4

Choose a tag to compare

@github-actions github-actions released this 22 Sep 13:42

English

New

  1. Interface language: switch between Chinese and English at the top of the settings tab; the settings tab and the
    image right-click menu follow, English by default. Command names are registered in both languages.
  2. Master switch for the image right-click menu: turn the plugin's image menu off from the settings tab or the command
    palette and images go back to Obsidian and other plugins; turning it off copies the command that turns it back on to
    your clipboard.
  3. Drag ceiling for multi-image rows: dragging outward stops once an image exactly fills its cell — beyond that neither
    the image nor the row height moves, and the note is not written. Near full it snaps silently to full.
  4. Drag-time equalizing: dragging an image's top or bottom edge snaps it to an equal-height neighbour and lights that
    side's balance bar.
  5. Undo (Cmd+Z) now restores a single-image row after rotating, aligning or resizing it by its handle.
  6. Geometry probe switch (temporary): writes each image's model / written / measured sizes to the log file.

Improved

  1. Multi-image rotation no longer moves the container: a turn only shrinks the artwork inside its pre-rotation box; row
    height and neighbour widths are never written.
  2. The multi-image row height model, double-click equalizing and dividers now solve shares from the currently rendered
    aspect ratio: gaps between two images are even, and images no longer sit shorter than their container.
  3. Settings buttons: hover and press look the same across every theme and in both light and dark modes; all forced
    style declarations were removed from the stylesheet.

Fixed

  1. Embed matching compares the filename's last segment, so links in subfolders no longer mismatch; on a fallback the
    section's own candidate wins, so same-named attachments no longer take another image's row parameters.
  2. Dragging to the ceiling no longer records full width as 99 through sub-pixel rounding.
  3. Dragging an image onto its own endpoint within a row is a legal swap instead of being ignored.

中文

新增

  1. 界面语言:设置页最上方可切换中文 / English,设置页与图片右键菜单整体跟随,默认英文;命令名中英并排注册。
  2. 图片右键菜单总开关:在设置页或命令面板关闭本插件的图片菜单,图片交还 Obsidian
    与其他插件;关闭时自动把重新开启的命令复制到剪贴板。
  3. 多图行拖拽上界:向外拖到图片恰好铺满本格即止,再往外图片与行高都不动、笔记也不写;接近满格时静默吸附到满格。
  4. 拖拽均衡吸附:拖拽图片上下边框时与等高邻居吸附,并点亮该侧均衡条。
  5. 单图行在旋转、对齐、手柄缩放之后,撤销(Cmd+Z)均可正常还原
  6. 几何诊断快照开关(临时):把每张图的模型 / 写入 / 实测三组尺寸写进日志文件。

优化

  1. 多图行旋转改为「不动容器」:转向只把画作缩进旋转前的容器,行高与邻居宽度一律不写。
  2. 多图行高度模型与双击均衡、双击分隔线统一改按当前渲染宽高比求解份额:两图间距不再一大一小,图不再比容器矮一截。
  3. 设置页按钮:悬停与按下在所有主题、亮暗两模式下表现一致;样式表中全部强制声明已清除。

修复

  1. 嵌入匹配改按文件名末段比较,子文件夹链接不再错配;失配降级时优先本节候选,同名附件不再把行参数落到别的图上。
  2. 拖到上界时不再因亚像素误差把满格记成 99。
  3. 同一行内拖到自身端点,由忽略改为合法交换。

1.0.3

Choose a tag to compare

@github-actions github-actions released this 22 Sep 12:18

English

New

  1. Interface language: switch between Chinese and English at the top of the settings tab; the settings tab and the
    image right-click menu follow, English by default. Command names are registered in both languages.
  2. Master switch for the image right-click menu: turn the plugin's image menu off from the settings tab or the command
    palette and images go back to Obsidian and other plugins; turning it off copies the command that turns it back on to
    your clipboard.
  3. Drag ceiling for multi-image rows: dragging outward stops once an image exactly fills its cell — beyond that neither
    the image nor the row height moves, and the note is not written. Near full it snaps silently to full.
  4. Drag-time equalizing: dragging an image's top or bottom edge snaps it to an equal-height neighbour and lights that
    side's balance bar.
  5. Undo (Cmd+Z) now restores a single-image row after rotating, aligning or resizing it by its handle.
  6. Geometry probe switch (temporary): writes each image's model / written / measured sizes to the log file.

Improved

  1. Multi-image rotation no longer moves the container: a turn only shrinks the artwork inside its pre-rotation box; row
    height and neighbour widths are never written.
  2. The multi-image row height model, double-click equalizing and dividers now solve shares from the currently rendered
    aspect ratio: gaps between two images are even, and images no longer sit shorter than their container.
  3. Settings buttons: hover and press look the same across every theme and in both light and dark modes; all forced
    style declarations were removed from the stylesheet.

Fixed

  1. Embed matching compares the filename's last segment, so links in subfolders no longer mismatch; on a fallback the
    section's own candidate wins, so same-named attachments no longer take another image's row parameters.
  2. Dragging to the ceiling no longer records full width as 99 through sub-pixel rounding.
  3. Dragging an image onto its own endpoint within a row is a legal swap instead of being ignored.

中文

新增

  1. 界面语言:设置页最上方可切换中文 / English,设置页与图片右键菜单整体跟随,默认英文;命令名中英并排注册。
  2. 图片右键菜单总开关:在设置页或命令面板关闭本插件的图片菜单,图片交还 Obsidian
    与其他插件;关闭时自动把重新开启的命令复制到剪贴板。
  3. 多图行拖拽上界:向外拖到图片恰好铺满本格即止,再往外图片与行高都不动、笔记也不写;接近满格时静默吸附到满格。
  4. 拖拽均衡吸附:拖拽图片上下边框时与等高邻居吸附,并点亮该侧均衡条。
  5. 单图行在旋转、对齐、手柄缩放之后,撤销(Cmd+Z)均可正常还原
  6. 几何诊断快照开关(临时):把每张图的模型 / 写入 / 实测三组尺寸写进日志文件。

优化

  1. 多图行旋转改为「不动容器」:转向只把画作缩进旋转前的容器,行高与邻居宽度一律不写。
  2. 多图行高度模型与双击均衡、双击分隔线统一改按当前渲染宽高比求解份额:两图间距不再一大一小,图不再比容器矮一截。
  3. 设置页按钮:悬停与按下在所有主题、亮暗两模式下表现一致;样式表中全部强制声明已清除。

修复

  1. 嵌入匹配改按文件名末段比较,子文件夹链接不再错配;失配降级时优先本节候选,同名附件不再把行参数落到别的图上。
  2. 拖到上界时不再因亚像素误差把满格记成 99。
  3. 同一行内拖到自身端点,由忽略改为合法交换。

1.0.2

Choose a tag to compare

@github-actions github-actions released this 17 Sep 10:00

Drag Image Auto Arrange

Automatically arrange consecutive image embeds into side-by-side rows — like Feishu / Lark documents. Drag to reorder, drag the divider to resize, and each row keeps its own layout across sessions.

This is the first release of the plugin. Feel free to use it, and if you run into any issues, please report them on the GitHub page. Thank you!

https://github.com/lishuai1993/DragImageAutoArrange.git

Features

  • Automatic rows — consecutive image embeds on adjacent lines are laid out side by side instead of stacking vertically.
  • Drag to reorder — drag an image within a row, or onto another row, to move it.
  • Draggable dividers — drag the divider between two images to shift the width split.
  • Height equalizer — double-click the row's top balance line to make every image in a multi-image row the same height.
  • Corner handles — drag a handle on an image's corner to change its size.
  • Per-image resize — resize a standalone image, or pick a percentage of its natural width from the right-click menu.
  • Alignment — align an image left, center, or right within its row.
  • Rotate / flip — rotate by 90° / 180° and flip horizontally or vertically. The orientation is stored as a parameter on the note line (a readable word such as r90 / fv), so the image file itself is never re-encoded and each change is a single undoable edit. Reset returns the image to its original orientation.
  • Right-click menu — one unified menu for alignment, rotation, resizing, copy, cut, and file operations. Copy and cut put the bitmap on the clipboard together with the image's in-vault reference: pasting inside this vault lands as a ![[…]] link instead of minting a duplicate attachment, while pasting into another vault or app yields the image itself — PNG and JPEG files go over byte-for-byte, lossy formats are re-encoded as JPEG. Cut additionally removes that one reference, and deletes the local file only when nothing else in the vault points at it.
  • Reading Mode support — rows render in Reading Mode too, including each image's rotate/flip orientation; editing operations are greyed out.
  • Vault-wide maintenance — two passes in the settings tab: clear everything the plugin wrote out of every note, or normalise every line it can host into the standard parameter form. Both scan the vault and show you the exact scope before writing.

License

MIT — see LICENSE.

Drag Image Auto Arrange(中文)

自动把连续的图片嵌入排列成并排的多图行,效果类似飞书 / Lark 文档。可拖拽排序、拖拽分隔条调整宽度,每行都会各自记住布局。

功能

  • 自动成行:相邻行上的连续图片嵌入会自动并排显示,而不是逐张纵向堆叠。
  • 拖拽排序:可在行内拖动图片,也可拖到另一行,实现位置调整。
  • 可拖拽分隔条:拖动两张图之间的分隔条,即可改变宽度分配。
  • 顶部均衡线:双击多图行顶部的均衡线,即可快速让行内各图高度对齐。
  • 角点手柄:拖拽图像角点手柄即可改变图像大小。
  • 单图缩放:可缩放独立图片,也可在右键菜单中按原图宽度的百分比选择尺寸。
  • 对齐:可将图片在所在行内左对齐、居中或右对齐。
  • 旋转 / 翻转:支持 90° / 180° 旋转与水平、垂直翻转。朝向以行参数的形式写回笔记(可读词,如 r90 / fv),原图文件自始至终不被重编码,每次操作都是一步可撤销的编辑;重置后回到原始朝向。
  • 右键菜单:对齐、旋转、缩放、复制、剪切与文件操作收敛在同一个菜单中。复制与剪切会把位图写入剪贴板,并一并带上该图在库内的引用:在本库粘贴落成 ![[…]] 链接,而不是另存出一份重复附件;粘到其它仓库或 App 则落成图像本身 —— png / jpg 原样写入,webp、avif 等有损格式转码为 JPEG。剪切还会移除该处引用,并且仅当全库再无其他引用时才删除本地文件。
  • 阅读模式支持:多图行在阅读模式下同样渲染,旋转 / 翻转朝向一并呈现,编辑类操作置灰。
  • 全库格式维护:设置页提供两个全库动作 —— 把插件写入的参数从全部笔记中清除,或把所有可托管的图片行归一化为标准参数格式。两者都先扫描、把改动范围显示给你,确认之后才写入。

这是该插件的第一个版本,请尽情使用,如有问题,请及时在 GitHub 主页反馈,谢谢!

https://github.com/lishuai1993/DragImageAutoArrange.git

许可

MIT,详见 LICENSE。

1.0.1

Choose a tag to compare

@github-actions github-actions released this 16 Sep 13:52

Drag Image Auto Arrange

Automatically arrange consecutive image embeds into side-by-side rows — like Feishu / Lark documents. Drag to reorder, drag the divider to resize, and each row keeps its own layout across sessions.

This is the first release of the plugin. Feel free to use it, and if you run into any issues, please report them on the GitHub page. Thank you!

https://github.com/lishuai1993/DragImageAutoArrange.git

Features

  • Automatic rows — consecutive image embeds on adjacent lines are laid out side by side instead of stacking vertically.
  • Drag to reorder — drag an image within a row, or onto another row, to move it.
  • Draggable dividers — drag the divider between two images to shift the width split.
  • Height equalizer — double-click the row's top balance line to make every image in a multi-image row the same height.
  • Corner handles — drag a handle on an image's corner to change its size.
  • Per-image resize — resize a standalone image, or pick a percentage of its natural width from the right-click menu.
  • Alignment — align an image left, center, or right within its row.
  • Rotate / flip — rotate by 90° / 180° and flip horizontally or vertically. The orientation is stored as a parameter on the note line (a readable word such as r90 / fv), so the image file itself is never re-encoded and each change is a single undoable edit. Reset returns the image to its original orientation.
  • Right-click menu — one unified menu for alignment, rotation, resizing, copy, cut, and file operations. Copy and cut put the bitmap on the clipboard together with the image's in-vault reference: pasting inside this vault lands as a ![[…]] link instead of minting a duplicate attachment, while pasting into another vault or app yields the image itself — PNG and JPEG files go over byte-for-byte, lossy formats are re-encoded as JPEG. Cut additionally removes that one reference, and deletes the local file only when nothing else in the vault points at it.
  • Reading Mode support — rows render in Reading Mode too, including each image's rotate/flip orientation; editing operations are greyed out.
  • Vault-wide maintenance — two passes in the settings tab: clear everything the plugin wrote out of every note, or normalise every line it can host into the standard parameter form. Both scan the vault and show you the exact scope before writing.

License

MIT — see LICENSE.

Drag Image Auto Arrange(中文)

自动把连续的图片嵌入排列成并排的多图行,效果类似飞书 / Lark 文档。可拖拽排序、拖拽分隔条调整宽度,每行都会各自记住布局。

功能

  • 自动成行:相邻行上的连续图片嵌入会自动并排显示,而不是逐张纵向堆叠。
  • 拖拽排序:可在行内拖动图片,也可拖到另一行,实现位置调整。
  • 可拖拽分隔条:拖动两张图之间的分隔条,即可改变宽度分配。
  • 顶部均衡线:双击多图行顶部的均衡线,即可快速让行内各图高度对齐。
  • 角点手柄:拖拽图像角点手柄即可改变图像大小。
  • 单图缩放:可缩放独立图片,也可在右键菜单中按原图宽度的百分比选择尺寸。
  • 对齐:可将图片在所在行内左对齐、居中或右对齐。
  • 旋转 / 翻转:支持 90° / 180° 旋转与水平、垂直翻转。朝向以行参数的形式写回笔记(可读词,如 r90 / fv),原图文件自始至终不被重编码,每次操作都是一步可撤销的编辑;重置后回到原始朝向。
  • 右键菜单:对齐、旋转、缩放、复制、剪切与文件操作收敛在同一个菜单中。复制与剪切会把位图写入剪贴板,并一并带上该图在库内的引用:在本库粘贴落成 ![[…]] 链接,而不是另存出一份重复附件;粘到其它仓库或 App 则落成图像本身 —— png / jpg 原样写入,webp、avif 等有损格式转码为 JPEG。剪切还会移除该处引用,并且仅当全库再无其他引用时才删除本地文件。
  • 阅读模式支持:多图行在阅读模式下同样渲染,旋转 / 翻转朝向一并呈现,编辑类操作置灰。
  • 全库格式维护:设置页提供两个全库动作 —— 把插件写入的参数从全部笔记中清除,或把所有可托管的图片行归一化为标准参数格式。两者都先扫描、把改动范围显示给你,确认之后才写入。

这是该插件的第一个版本,请尽情使用,如有问题,请及时在 GitHub 主页反馈,谢谢!

https://github.com/lishuai1993/DragImageAutoArrange.git

许可

MIT,详见 LICENSE。

1.0.0

Choose a tag to compare

@lishuai1993 lishuai1993 released this 16 Sep 12:50

Drag Image Auto Arrange

Automatically arrange consecutive image embeds into side-by-side rows — like Feishu / Lark documents. Drag to reorder, drag the divider to resize, and each row keeps its own layout across sessions.

This is the first release of the plugin. Feel free to use it, and if you run into any issues, please report them on the GitHub page. Thank you!

https://github.com/lishuai1993/DragImageAutoArrange.git

Features

  • Automatic rows — consecutive image embeds on adjacent lines are laid out side by side instead of stacking vertically.
  • Drag to reorder — drag an image within a row, or onto another row, to move it.
  • Draggable dividers — drag the divider between two images to shift the width split.
  • Height equalizer — double-click the row's top balance line to make every image in a multi-image row the same height.
  • Corner handles — drag a handle on an image's corner to change its size.
  • Per-image resize — resize a standalone image, or pick a percentage of its natural width from the right-click menu.
  • Alignment — align an image left, center, or right within its row.
  • Rotate / flip — rotate by 90° / 180° and flip horizontally or vertically. The orientation is stored as a parameter on the note line (a readable word such as r90 / fv), so the image file itself is never re-encoded and each change is a single undoable edit. Reset returns the image to its original orientation.
  • Right-click menu — one unified menu for alignment, rotation, resizing, copy, cut, and file operations. Copy and cut put the bitmap on the clipboard together with the image's in-vault reference: pasting inside this vault lands as a ![[…]] link instead of minting a duplicate attachment, while pasting into another vault or app yields the image itself — PNG and JPEG files go over byte-for-byte, lossy formats are re-encoded as JPEG. Cut additionally removes that one reference, and deletes the local file only when nothing else in the vault points at it.
  • Reading Mode support — rows render in Reading Mode too, including each image's rotate/flip orientation; editing operations are greyed out.
  • Vault-wide maintenance — two passes in the settings tab: clear everything the plugin wrote out of every note, or normalise every line it can host into the standard parameter form. Both scan the vault and show you the exact scope before writing.

License

MIT — see LICENSE.

Drag Image Auto Arrange(中文)

自动把连续的图片嵌入排列成并排的多图行,效果类似飞书 / Lark 文档。可拖拽排序、拖拽分隔条调整宽度,每行都会各自记住布局。

功能

  • 自动成行:相邻行上的连续图片嵌入会自动并排显示,而不是逐张纵向堆叠。
  • 拖拽排序:可在行内拖动图片,也可拖到另一行,实现位置调整。
  • 可拖拽分隔条:拖动两张图之间的分隔条,即可改变宽度分配。
  • 顶部均衡线:双击多图行顶部的均衡线,即可快速让行内各图高度对齐。
  • 角点手柄:拖拽图像角点手柄即可改变图像大小。
  • 单图缩放:可缩放独立图片,也可在右键菜单中按原图宽度的百分比选择尺寸。
  • 对齐:可将图片在所在行内左对齐、居中或右对齐。
  • 旋转 / 翻转:支持 90° / 180° 旋转与水平、垂直翻转。朝向以行参数的形式写回笔记(可读词,如 r90 / fv),原图文件自始至终不被重编码,每次操作都是一步可撤销的编辑;重置后回到原始朝向。
  • 右键菜单:对齐、旋转、缩放、复制、剪切与文件操作收敛在同一个菜单中。复制与剪切会把位图写入剪贴板,并一并带上该图在库内的引用:在本库粘贴落成 ![[…]] 链接,而不是另存出一份重复附件;粘到其它仓库或 App 则落成图像本身 —— png / jpg 原样写入,webp、avif 等有损格式转码为 JPEG。剪切还会移除该处引用,并且仅当全库再无其他引用时才删除本地文件。
  • 阅读模式支持:多图行在阅读模式下同样渲染,旋转 / 翻转朝向一并呈现,编辑类操作置灰。
  • 全库格式维护:设置页提供两个全库动作 —— 把插件写入的参数从全部笔记中清除,或把所有可托管的图片行归一化为标准参数格式。两者都先扫描、把改动范围显示给你,确认之后才写入。

这是该插件的第一个版本,请尽情使用,如有问题,请及时在 GitHub 主页反馈,谢谢!

https://github.com/lishuai1993/DragImageAutoArrange.git

许可

MIT,详见 LICENSE。