The avatar does not get loaded. I pushed it into the img/ directory and the browser tries to download the avatar from https://example.comimg/avatar.png.
I think this is the commit that broke it: 0768fee35
Your baseurl in config.toml should end with a slash (/) like in the example site - Hugo expects the baseurl to end with a slash.
Oops my bad!
Avatar not showing up for me:
<div class="portrait" style="background-image: url('http://elloaguedes.com/img/elloa.jpg');"></div>
--
 | <meta itemprop="image" content="http://elloaguedes.com/img/elloa.jpg">
What's going on here? Anyone could help me?
I am having the same issue. Was this ever solved?
Yes! Do as follows:
Thanks!
Get Outlook for iOShttps://aka.ms/o0ukef
From: Elloá B. Guedes notifications@github.com
Sent: Saturday, June 30, 2018 7:05:24 PM
To: gcushen/hugo-academic
Cc: Rola Dali; Comment
Subject: Re: [gcushen/hugo-academic] Avatar not showing up (#173)
Yes! Do as follows:
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/gcushen/hugo-academic/issues/173#issuecomment-401571738, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHpobeJlCDKL-gfZt52dJpgsIBlvaMi2ks5uCAQ0gaJpZM4NPYr9.
I can't get the portrait file to show instead of that spooky blue avatar.
In config.toml I have
avatar = "portrait.jpg"
And the file lives at
static/img/portrait.jpg
Still, it doesn't show. In public/index.html I have the following line:
<img class="portrait" src="/author/admin/avatar_hu52a603635ecebd45650b162dadabb4e5_12861_250x250_fill_q75_box_center.jpg" itemprop="image" alt="Avatar">
What is going wrong?
@stineb Check the following suggestions:
static/portrait.jpg
I can't get the portrait file to show instead of that spooky blue avatar.
In config.toml I have
avatar = "portrait.jpg"And the file lives at
static/img/portrait.jpgStill, it doesn't show. In public/index.html I have the following line:
<img class="portrait" src="/author/admin/avatar_hu52a603635ecebd45650b162dadabb4e5_12861_250x250_fill_q75_box_center.jpg" itemprop="image" alt="Avatar">What is going wrong? The portrait file is rather big, which may create a problem... Any help?
For the latest version:
https://sourcethemes.com/academic/docs/get-started/#introduce-yourself
That solved it, thanks gcushen!
Most helpful comment
Avatar not showing up for me:
What's going on here? Anyone could help me?