Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Working on a blog for a store and surprisingly I haven't used author images in the past. I've come across the following liquid attribute:
article.user.image
I am not seeing anywhere in the staff section where an admin user can manage their avatar image.
The only thing I can think of is the SSO management page, but if that is the case a user can not have unique avatars per store (in the case an admin user has access to many stores).
Is this correct?
Solved! Go to the solution
This is an accepted solution.
Hi @Javy,
It returns the image object of the author of the article. You can upload it at Manage account store.
Refer https://i.imgur.com/WVO8p8Z.png , https://i.imgur.com/Y6pKnvh.png
Hope it helps!
This is an accepted solution.
Hi @Javy,
It returns the image object of the author of the article. You can upload it at Manage account store.
Refer https://i.imgur.com/WVO8p8Z.png , https://i.imgur.com/Y6pKnvh.png
Hope it helps!
@LitExtension thanks for confirming that - so as mentioned earlier, since it is tied to the user's SSO account there is only one image that can be used globally across all Shopify stores.
Hi @Javy,
Yes, it will show the same if the same account. Or you can upload the image in Assets and set the condition to display it, so it will be custom for each store.
Ex:
{%- if article.user == 'ABC' -%}
// show image Assets
{%- else -%}
// show image user
{%- endif -%}
Hope it is clear to you.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025