Image Embed Kit

by visitor
5
4
3
2
1
Score: 50/100

Description

Resize embedded images, open a zoom viewer, and edit per-image captions in Obsidian desktop notes.

Reviews

No reviews yet.

Stats

0
stars
32
downloads
0
forks
8
days
9
days
9
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
8
commits

Latest Version

9 days ago

Changelog

Right-click a local image in Reading view to open its image and file menu. Double-click still opens the full-size viewer.

  • Click an image and press Delete in Reading view or Live Preview to run Obsidian’s Delete image action. It respects your vault’s confirmation and trash settings. Once the file is deleted, the selected embed is removed. Other references and caption text remain in their notes.
  • Choose Remove image from the Reading view menu to remove only the selected embed and keep the original attachment.
  • Swap file lists vault files to find replacement images when you open the picker. Copy image writes the selected picture to the system clipboard.

한국어

읽기 모드에서 보관함 이미지를 우클릭하면 수정 모드처럼 메뉴가 열립니다. 더블클릭으로는 계속 확대할 수 있습니다.

  • 읽기 모드와 Live Preview에서 이미지를 클릭한 뒤 Delete를 누르면 우클릭 메뉴의 이미지 삭제와 동일하게 처리합니다. 보관함의 삭제 확인 및 휴지통 설정을 따르고, 삭제가 완료되면 선택한 임베드를 지웁니다. 다른 참조와 캡션은 노트에 남습니다.
  • 원본 파일을 보관하고 싶으면 읽기 모드 메뉴에서 이미지 제거를 선택하세요.
  • 파일 바꿔치기 창을 열면 보관함의 파일 목록에서 교체할 이미지를 찾습니다. 이미지 복사를 누르면 선택한 사진을 시스템 클립보드에 씁니다.

README file from

Github

Image Embed Kit

Editing an embedded image in an Obsidian note

Resize a local image, open it at full size, or add a caption directly in an Obsidian desktop note. If a photo appears twice in the note, each copy can have its own width and caption. The original image file keeps its resolution. 한국어 사용법

Installation

Image Embed Kit requires Obsidian desktop 1.12.4 or later.

  1. Download main.js, manifest.json, and styles.css from the same GitHub release.
  2. In your vault, create the folder .obsidian/plugins/image-embed-kit/ and put all three files in it.
  3. In Obsidian, open Settings → Community plugins, enable community plugins if prompted, refresh the installed plugins list, and turn on Image Embed Kit.

Usage

Embed a vault image in a note, for example ![[photo.png]]. In Reading view or Live Preview, hover over the image or click it once to reveal the toolbar.

  • Resize by dragging either side handle. To set an exact width in pixels, open the captions button (너비와 캡션 편집). Clear the width field to restore automatic sizing.
  • Add a caption in the same dialog and choose 저장 (Save). You can hide a caption and restore it later, or clear the text to remove it.
  • Zoom by double-clicking the image or using the expand button (확대보기). The viewer shows the original dimensions and offers zoom, 100%, and fit to screen. Press Esc or click the backdrop to close it.
  • Edit the embed link in Live Preview with the code button (이 블럭 수정). For keyboard access, use the command palette and choose Image Embed Kit: 노트 이미지 선택 to find an image by file name, caption, or line number.
  • Right-click an image in Reading view or Live Preview to open its image and file actions. In Reading view, choose Remove image to remove just the selected embed and keep the attachment.
  • Delete the image file by choosing Delete image or by clicking the image once and pressing Delete in either view. Both use Obsidian’s file deletion settings, including the confirmation prompt and trash location. Deleting the file removes the selected embed. Captions remain as note text, and other links to the file will point to a missing attachment.
  • Write below an image in Live Preview by clicking it and pressing Enter. The cursor moves to a new line below the image and its caption. For an inline image, the new line starts below the current line of text.

Supported images

Both wiki embeds such as ![[photo.png|320]] and Markdown embeds such as ![Garden|320](photo.png "Spring") are supported. Width is stored in the link. A visible caption is stored as italic Markdown next to the embed, so it stays readable when the plugin is disabled. Editing the width or caption preserves alt text and link titles.

The toolbar works on local images in the body of a note. Remote URLs, table cells, images inside embedded notes, and mouse controls in Source mode are outside its scope.

Development

npm ci
npm test
npm run build

To verify a downloaded release file against the build signed by GitHub Actions, run gh attestation verify main.js --repo visitor17564/image-embed-kit from the download folder. The same command accepts manifest.json and styles.css. Attestations are available starting with 0.1.2.

MIT license