Files
quartz-org-roam/notes/example-images.org
Ignacio Ballesteros 3deec2d011 example: images
2026-02-20 10:51:05 +01:00

1.1 KiB

Example: Image References

This note demonstrates the three image reference scenarios that the pipeline must handle.

Scenario 1: External image (URL)

An image hosted on the web — ox-hugo passes the URL through as-is and no local file handling is needed.

quartz-logo-external.png

Scenario 2: Local image (same notes directory)

An image sitting next to this .org file inside the notes directory. ox-hugo copies files referenced with a relative path into the Hugo static/ assets tree automatically.

quartz-logo.png
Quartz logo (local, same notes dir)

Scenario 3: External image (outside notes directory)

An image that lives outside the notes directory entirely — for example a shared assets folder or a system path. ox-hugo still copies it into static/ and rewrites the reference.

/home/ignaciobll/code/quartz-org-roam/notes-external/external-location-image.png
Quartz logo (outside notes dir)