Jump to content
View in the app

A better way to browse. Learn more.

Learn more

Guest avatar customisation?

You are viewing a curated collection of the most significant posts in this topic with an estimated read time of 10 minutes. The full topic contains 31 posts with an estimated read time of 32 minutes.

Featured Replies

Hi

I would like to change the avatar for guests to our forum. It is currently the default silhouette figure, and I want to use a custom graphic instead.

Is that in the acp?

Thanks

Hi @Brian Lane_61409,

You can do this in the AdminCP → Members → Member Settings → Profiles → Profile Settings → Photos → Default Profile Photos.

This should be what you're looking for. 😎

7 minutes ago, Marc said:

You would need to use CSS to replace these in version 5. Its not currently possible to replace these in the resource manager

Can you give an example of the CSS code that can be used to achieve this?

You can check the path and upload a new image with the same name to the server as well.

17 hours ago, Jimi Wikman said:

You can check the path and upload a new image with the same name to the server as well.

This is what I've been doing for the past months. The only issue with this method is that every time I update the IPS software, my custom avatar image gets overwritten again with the default one by the IPS software installer.

The default guest avatar file is: core_84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png and located in this folder: public_html/static/resources/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png


On 11/11/2025 at 11:34 AM, Marc said:
.ipsData__image > i:not([class*="fa-"])::before {
    content: var(--i-data--fallback-icon, "\f1c5");
}

I tried to figure out the CSS from the code above, but I can't get it to work.

Does anyone with CCS knowledge have the CSS code to change the default guest avatar to a custom photo? Can you post the exact CCS code I can use to achieve this? Maybe @Ehren can help with the needed CSS code?

This profile icon has long been deprecated. Editing default theme resources is not possible in IPS5. You can replace the icon using JS. I'm currently writing a tool that will allow to replace standard resources and edit theme code (how it was in IPS4).

23 hours ago, beats23 said:

Does anyone with CCS knowledge have the CSS code to change the default guest avatar to a custom photo? Can you post the exact CCS code I can use to achieve this? Maybe @Ehren can help with the needed CSS code?

Sure. This will replace the default_photo.png image with your own. Add to your Custom CSS area:

/* Replace default_photo.png avatar */
.ipsUserPhoto:has([src$="default_photo.png"]){
    background-image: url("https://site.com/avatar.png");
    background-size: cover;
}
	.ipsUserPhoto:has([src$="default_photo.png"]) img{
	    display: none;
	}
  • 2 weeks later...
On 11/19/2025 at 11:57 AM, beats23 said:

This is what I've been doing for the past months. The only issue with this method is that every time I update the IPS software, my custom avatar image gets overwritten again with the default one by the IPS software installer.

The default guest avatar file is: core_84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png and located in this folder: public_html/static/resources/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png


I tried to figure out the CSS from the code above, but I can't get it to work.

Does anyone with CCS knowledge have the CSS code to change the default guest avatar to a custom photo? Can you post the exact CCS code I can use to achieve this? Maybe @Ehren can help with the needed CSS code?

Have you tried to change the permissions for the image and the folder on the server?

8 hours ago, Jimi Wikman said:

Have you tried to change the permissions for the image and the folder on the server?

I did think about that, changing the file permission to read only. But I don't know if doing that would cause any issues with the IPS installer during an update.

Nothing you are missing. By "correct way", I mean at present, this is the only way in which to do it using the software. So therefore from the point of view of issuing support, thats the only 'correct' manner in which to do this, as we dont advise changing things directly within the file system

Recently Browsing 0

  • No registered users viewing this page.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.