How to Adjust Author Image Size in Dynamic Content

I’ve created an “Author Page” for users to view who the blog authors are. Here is an author page I’m working on:

The live url is here: https://creativecollectivema.com/author/cns2020/

I’m using this dynamic code for the Gravatar author image {{dc:author:gravatar}}

The problem I’m having is this image is coming across as small even though the original image is 1080px X 1080px. How can I make this image larger?

Would it be something like this {{dc:author:gravatar size="large"}} so it pulls a default media size value?

Hello @OctoCog,

Thanks for writing to us.

I checked your website and it appears that the author image you are using is a self‑hosted image you uploaded directly. To make this work dynamically, please use the user meta dynamic content code to pull the author image URL instead. You can use the following Dynamic Content code, replacing YOUR_USER_META_KEY with your actual user meta key:
{{dc:author:meta key="YOUR_USER_META_KEY"}}

If it doesn’t work for you, please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin level username and password

You can find the Secure Note button at the bottom of your posts

Hope it helps
Thanks

@prakash_s I see the dynamic code you are suggesting. I went through all the author meta data available and I’m not seeing anything for the profile image. I’ll give you access to our staging site so you can take a peek at it.

@prakash_s I just sent you access to the site so you can take a look at the author profile image.

Hello @OctoCog,

Thank you for providing the login details. I can see that you’re using the “User Profile Picture” plugin to upload the profile image. This plugin relies on custom PHP implementation to display the profile image, which falls under custom development and is outside the scope of our standard support.

For this reason, I recommend contacting a developer who can help you implement the necessary code, or subscribing to One, where customization-related questions can be addressed in more detail. Please note that we’re unable to provide support for third‑party plugins, as this is beyond our support scope.

Alternatively, you can use an ACF user meta field to upload and store the profile image, and then pull it via Cornerstone’s dynamic content.

Thanks for understanding

@prakash_s I had to do that because I’m not able to upload the image for the customers profile in the admin dashboard.

Let’s say I updated a user’s profile image. What dynamic value would I need to put the author image there?

Hi @OctoCog,

Thanks for reaching out.

I’ve checked the page and found that the issue is related to the Profile Picture size. Currently, it’s loading at 96px , which is the default size used by Gravatar .

If you’d like to display the profile picture at a specific size (for example, 150px ), you’ll need to explicitly define the size in the Dynamic Content tag, like this:

{{dc:author:gravatar size="150"}}

I’ve added this as an example on the layout so you can review it and apply the same change on the live site.

Hope this helps! Let us know if you need any further assistance.

Thanks

@tristup Adding size=“150” worked! Everything is looking good now.

Hello @OctoCog,

Glad that things are well for you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.