On Wed, 3 Aug 2022 at 18:18, Christopher Patti <[email protected]> wrote:
>
> Hi all.
>
> Trying to understand why the per post previewimage feature works the way it 
> does.
>
> If I understand correctly, by default in Nikola, images are stored in the 
> images folder off the nikola root.
>
> However the previewimage metadata header field wants images to live in a 
> folder relative to the post.
>
> Since I use the default folder layout with separate images/ and posts/ 
> folders, I'm unsure how to use this feature correctly without cluttering up 
> posts/ with separate images/ folders per post (Which I don't understand how 
> that would work either :)
>
> Thanks in advance, Nikola is amazing and I really love it! :)

It is not required to use the `images/` folder for anything.
`previewimage` supports images from anywhere, not necessarily
`images/`, therefore `previewimage` behaves the same way `<a>` or
`<img>` would in the post. The best way to link to things is to use
root-relative (`/foo`) links.

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7JavapMxtbyFC%2BjZsSyb3r0GWWLBd%3D4G6siBSi1sMW4ug%40mail.gmail.com.

Reply via email to