hugo-orbit-theme icon indicating copy to clipboard operation
hugo-orbit-theme copied to clipboard

How to use local images?

Open bakerwm opened this issue 7 years ago • 4 comments
trafficstars

could not insert images using hugo default, save files in "static/images/01.jpg" {{< photo full="/images/01.jpg" thumb="/images/01.jpg" alt="" phototitle="Example 01" description="example">}}

bakerwm avatar Jan 20 '18 11:01 bakerwm

@bakerwm do you really mean this theme? May be phugo?

aerohub avatar Jan 20 '18 19:01 aerohub

I have the same question, how do I set a local image ?

mithuns avatar Sep 30 '18 06:09 mithuns

you should put the local image inside assets directory. full path is static/assets/images/***

agileup avatar Dec 22 '18 06:12 agileup

With the latest version on #23 you can place your profile image directly within the static folder and add the filename to the config.toml.

There is no need to use a shortcode.

Lednerb avatar Jul 06 '20 18:07 Lednerb