# Images and Attachments > [!abstract] What this note is > Getting images and files into notes, controlling their size, and keeping the vault's `images/` folder from becoming a junk drawer. ## Embedding an image from the vault ```markdown ![[argus-9001.webp]] ``` The `!` is what makes it *display*; without it, `[[argus-9001.webp]]` is just a link to the file. ## Embedding from the web ```markdown ![Argus in space](https://example.com/argus.png) ``` The text in brackets is the alt text — what shows if the image can't load, and what screen readers speak. ## Resizing Append `|` and a pixel width inside the embed: ```markdown ![[argus-9001.webp|300]] ← 300px wide ![[argus-9001.webp|300x200]] ← exact dimensions ``` ## Where attachments land Drag-and-drop or paste an image and Obsidian saves the file, then inserts the embed for you. *Where* it saves is a setting: **Settings → Files & links → Default location for new attachments**. This vault keeps attachments in `images/` — set it once so screenshots don't scatter across the vault. ## Non-image files The same `![[...]]` syntax embeds PDFs (page-by-page viewer), audio (player), and video. Other file types fall back to a link. > [!tip] Name files like you'll search for them > `argus-9001.webp` beats `IMG_4821.webp`. The filename is all you'll have when the autocomplete asks you what to embed. ## Related - [[Links and Embeds]] - [[Markdown Reference Index]]