Skip to content

How to you set an image's width? #1081

@madeupandprobablydoesnotexist

Description

Describe the bug

I've been looking through the source and trying to find a way to change an images size on a per embed basis, like is possible with orgmode https://orgmode.org/manual/Images.html
And on snacks side, I just see [[path]] as the test case. Is there no way to do this without tainting global image settings?

checkhealth

==============================================================================
orgmode: ✅

Orgmode ~

  • ✅ OK Treesitter grammar installed (version 2.0.2)
  • ✅ OK Setup called
  • ✅ OK org_agenda_files configured
  • ✅ OK org_default_notes_file configured

Steps to reproduce

  1. Attempt to set an embed width for inline image on a per use case
  2. Cry

Expected behavior

Magical wonders of image width resizing via options

Emacs functionality

https://orgmode.org/manual/Images.html
#+ATTR_HTML

Minimal init.lua

-- Enter your minimal_init.lua here

Screenshots and recordings

No response

nvim-orgmode version

cf75da1

OS / Distro

Cachy

Neovim version/commit

v0.11.5

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions