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

Header Images Set in Blog Profile Not Displayed in Mastodon #1143

Open
cogdog opened this issue Jan 9, 2025 · 6 comments
Open

Header Images Set in Blog Profile Not Displayed in Mastodon #1143

cogdog opened this issue Jan 9, 2025 · 6 comments
Labels

Comments

@cogdog
Copy link

cogdog commented Jan 9, 2025

Quick summary

On 2 sites blog profiles are not displaying a header image when one is selected, yet on a third site an image is shown on profile but is not selected in Blog-Proile

Steps to reproduce

  1. Settings set for blog-profile
  2. In the Blog Profile, select an image under Manage Header Image

For 2 different sites

Image

Image

What you expected to happen

A profile viewed in Mastodon should have a background image

What actually happened

The profiles do not have background images

Image

Image

Impact

Some (< 50%)

Available workarounds?

There is no user impact

Logs or notes

I have a third site on a different host where the profile does show a background image:

Image

but there is no image selected in blog profile

Image

Maybe I am confused as to where the background comes from

The fediverse addresses for this sites lacking imagesare:

@[email protected] (theme is a child of Fukasawa)
@[email protected] (theme is a child of Cover Version: 1.8.2)

The one that is showing an image is

@[email protected] (theme is a chold of Garfunkel)

@cogdog cogdog added [Type] Bug Something isn't working Needs triage labels Jan 9, 2025
@pfefferle
Copy link
Member

The images seem to properly set in the ActivityPub Profile, so it seems to be a problem of our update routine. But Mastodon should update the image with the next cache update.

@cogdog
Copy link
Author

cogdog commented Jan 10, 2025

Thanks Matthias. Who's cache gets updated? Is this through the site? the plugin? through Mastodon itself? I'm still not seeing any change, I have tried via other accounts in a different browser.

It also does not explain why this one @[email protected] displays a profile background image but none is defined in the ActivityPub plugin. The image appears to be the theme's header image.

It's not a critical issue, but seems inconsistent. I really have liked the new features to add more (like links) to the blog profile.

@pfefferle
Copy link
Member

Who's cache gets updated?

Mastodon caches all profile informations for some time. The plugin should send an update on every profile change, to force Mastodon to update the cached informations, but there seem to be an issue in the plugin.

It also does not explain why this one @[email protected] displays a profile background image but none is defined in the ActivityPub plugin. The image appears to be the theme's header image.

We try to re-use as much as possible from core WordPress, so if there are other ways to set header images, the plugin uses these as default.

So long story short: All your changes are properly made and you can verify them, by adding ?activitypub to the end of your author-id: https://sadlyrobotic.cogdogblog.com/?author=0&activitypub

Your profile was not cached on the Mastodon instance I am using, so everything looks nice there:

Image

So short story even shorter: You do not have to do anything, but publishing new content. Mastodon will update the cache soon and we will check why the update Activity is not sent properly ☺️

@cogdog
Copy link
Author

cogdog commented Jan 10, 2025

Ahhh, so much more understanding now, appreciated. And I am enjoying seeing the data one can inspect view the ?author=0&activitypub trick.

I'm off to generate new content.

@cogdog cogdog closed this as completed Jan 10, 2025
@pfefferle
Copy link
Member

I'll keep it open until we checked the update mechanism.

@pfefferle pfefferle reopened this Jan 10, 2025
@cogdog
Copy link
Author

cogdog commented Jan 13, 2025

New post published on WP site for @[email protected] The header image appears when I am logged on to another instance where I have an account, user not cached, (yay) but still not my primary instance. It also has not updated the follower account. Will wait for cache cycle to catch up.

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

No branches or pull requests

2 participants