Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use local images? #12

Open
bakerwm opened this issue Jan 20, 2018 · 4 comments
Open

How to use local images? #12

bakerwm opened this issue Jan 20, 2018 · 4 comments

Comments

@bakerwm
Copy link

bakerwm commented Jan 20, 2018

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">}}

@aerohub
Copy link
Owner

aerohub commented Jan 20, 2018

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

@mithuns
Copy link

mithuns commented Sep 30, 2018

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

@agileup
Copy link

agileup commented Dec 22, 2018

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

@Lednerb
Copy link

Lednerb commented Jul 6, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants