Canvas Art Ref

approvedunreviewed

by CliveG

Arrange and resize reference images, and choose asset folders, in native Canvas.

Updated todayMIT

Canvas Art Ref

Inspired by PureRef, you can use obsidian canvases with this plugin to easily manage references.

Arrange images → Optimal turns a messy pile of references into a packed collage

Image actions

Create an Obsidian group or make a selection with your cursor and right click it to get the following options:

MenuOptions
Arrange imagesOptimal, By name, By path, By order, By addition, Randomly
Align imagesLeft, Right, Top, Bottom, Stack, Distribute horizontal, Distribute vertical
Normalize imagesHeight, Width, Size, Area, Scale, Scale selection…
Optimize groupFit a group's boundary to its contents

Normalize images → Height, then Arrange images → By name

  • Optimal packs images into the collage that shows them largest when zoomed to fit the current view, around any other cards.
  • By name, By path, By order, By addition and Randomly lay images out in rows. Repeat a sort to reverse it.
  • By order follows selection order: selected cards first, then each group's images top to bottom, left to right. By addition follows the order the plugin first saw each card.
  • Normalize matches the From first image or the Average, chosen at the top of the submenu. Size matches the longest side; Scale matches size relative to each image's resolution.
  • Stack piles images on their shared center. Distribute lines them up with the spacing set in settings.

Optimize group shrinks a loose group to fit its images

Optimize group fits a group around everything fully inside it, including notes and nested groups, without moving its contents.

Asset folders

The Canvas folders dialog

  • Images folder: you can specify where obsidian can put your newly inserted images, be pasted or dragging from outside the vault.
  • Notes folder: same but with note files created in the canvas.

You can set defaults in Settings → Canvas Art Ref. If you want to override them for one specific canvas, right-click empty space and choose Canvas folders…. Leave a field blank to inherit from defaults, or enter / for the vault root.

Development

npm install
npm run build
npm run lint
npm test

Live testing, native checks and releasing are covered in docs/development.md.

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.