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

I can not see the avatar picture on the front page #914

Open
coralenka opened this issue May 30, 2024 · 5 comments
Open

I can not see the avatar picture on the front page #914

coralenka opened this issue May 30, 2024 · 5 comments

Comments

@coralenka
Copy link

Your question

Ask the question you have not been able to find an answer in the Documentation
Hi, I am new to Hugo and I try build a personal website.
I have installed Hugo-coder theme and now I am trying to personalise Hugo.toml file.
Everything is running fine except I can not see the avatar picture on the front page.
The avatar.jpg is on /home/corneliu/newsite/images but it does not show up on the web page.
I noticed also that in the image folder there are 2 more images: screenshot.png and tn.png
but I do not know how to use them.
I want also to put some jpg images of my own on the front page but I do not how to do that.
I want to know what image size is acceptable and how to position it on the page.
Thanks for the Hugo-coder theme. It is very nice!
Best regards,
Corneliu
from Constanta, Romania

@coralenka
Copy link
Author

I forgot to mention that I am using Raspberry Pi5 with Bookworm operating system.

@luizdepra
Copy link
Owner

Hey @coralenka

The avatar.jpg is on /home/corneliu/newsite/images but it does not show up on the web page.

So, there is a catch here. You need to place all static (images and other stuff) inside the static folder. So, it should be at /home/corneliu/newsite/static/images. See my site for reference: https://github.com/luizdepra/luizdepra.dev

I noticed also that in the image folder there are 2 more images: screenshot.png and tn.png
but I do not know how to use them.

Don't mind them. These images are used only in the README.

I want also to put some jpg images of my own on the front page but I do not how to do that.

Same thing. Put the under static/images.

I want to know what image size is acceptable and how to position it on the page.

As far as I remember, any image size will work. For position, I recommend using the figure shortcode with custom CSS classes. See, here.

Thank you. :D

@coralenka
Copy link
Author

Thank you for your advice. It works!
It would be useful to develop on the project page, to give some examples.
I would like also to add a photo album to the site.
Thanks again for your support!
Regards,
Corneliu

@coralenka
Copy link
Author

Is it possible to add an album based on https://photoswipe.com/ in your theme?

@coralenka
Copy link
Author

Is it possible to replace the avatar with a normal size image?

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

2 participants