You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Cannot resize attached images whatsoever. Does not respect both obsidian's format and zennote's #570
both resulted in this, showing that zennotes does not respect specified image size constraints when displayed both in editor and preview (not shown, cuz it's the same thing).
i cannot select text in help, you can read it yourself in the source code about what your LLM wrote in regards to image (and excalidraw) sizes. (btw, that file looks horrible... definitely shaking my faith in LLM discipline used in this project)
You are right, and the help was writing checks the renderer never cashed: size hints were documented as "same syntax as images" but only Excalidraw embeds ever honored them. Plain images ignored the hint entirely and leaked it into the alt text, in both spellings you tried.
Fixed in 302a5ff on the v2.27.0 branch. Both of your exact lines now work:
![[assets/cognitive_web.jpg|100x50]] renders at 100x50, and ![[assets/pic.png|300]] sets width with height following the aspect ratio.
 renders at 100x50 and keeps "cognitive web" as the caption. Pipes inside a caption survive; only a trailing segment that parses as a size is consumed.
Applies in the editor's live preview, the reading view, and the PDF export path (same renderer). A hint wider than the pane is still capped by the layout's max-width.
Worth admitting: the first attempt at this fix set the width/height attributes and looked correct in the HTML while the pixels on screen did not move, because the embed stylesheet stretches images to the pane width and attributes lose to CSS. Measuring the rendered size in the running app caught it; the hint now also lands as inline style. The verification run uses your exact two lines and asserts getBoundingClientRect comes back 100x50 in both Edit and Preview.
How to test locally once it ships (or from the branch): drop an image in assets/, add both lines from your report to a note, and check Edit and Preview. Before: two full-width images with the hint in the alt text. After: both at 100x50.
The non-selectable help text is a fair separate gripe; it is on the list. Ships in 2.27.0.
Activity
adibhanna commentedon Aug 10, 2026
You are right, and the help was writing checks the renderer never cashed: size hints were documented as "same syntax as images" but only Excalidraw embeds ever honored them. Plain images ignored the hint entirely and leaked it into the alt text, in both spellings you tried.
Fixed in 302a5ff on the
v2.27.0branch. Both of your exact lines now work:![[assets/cognitive_web.jpg|100x50]]renders at 100x50, and![[assets/pic.png|300]]sets width with height following the aspect ratio.renders at 100x50 and keeps "cognitive web" as the caption. Pipes inside a caption survive; only a trailing segment that parses as a size is consumed.Worth admitting: the first attempt at this fix set the width/height attributes and looked correct in the HTML while the pixels on screen did not move, because the embed stylesheet stretches images to the pane width and attributes lose to CSS. Measuring the rendered size in the running app caught it; the hint now also lands as inline style. The verification run uses your exact two lines and asserts
getBoundingClientRectcomes back 100x50 in both Edit and Preview.How to test locally once it ships (or from the branch): drop an image in
assets/, add both lines from your report to a note, and check Edit and Preview. Before: two full-width images with the hint in the alt text. After: both at 100x50.The non-selectable help text is a fair separate gripe; it is on the list. Ships in 2.27.0.
adibhanna commentedon Aug 10, 2026
Closing as fixed by 302a5ff on the v2.27.0 branch; ships with 2.27.0.
Fix(review): resolve the thirteen findings on the 2.27.0 release PR (#…
Fix(embeds): image size hints actually resize the image (ZenNotes#570)
Feat(editor): resize a picture by dragging its edge (#684)