Jump to content

Avatar Oddity

Featured Replies

Posted

I changed my avatar in My Settings and it shows the different avatar, but that avatar isn't showing in my posts (old or new).

Yet when I go back to my User CP, the new avatar is showing up.

This is happening here on the company forums.

there are still bugs on this based on the size of the avatar you upload, try uploading a larger image than 150px.

  • Author

there are still bugs on this based on the size of the avatar you upload, try uploading a larger image than 150px.



It didn't even delete my avatar when I chose Remove Photo, lol.
  • Author

there are still bugs on this based on the size of the avatar you upload, try uploading a larger image than 150px.



Resized the avatar to 200x200 and still no dice.

You have to wait.

Browser cache, perhaps?

Could be the fact a CDN is used here?

  • Author

Could be the fact a CDN is used here?



Is it? Ping doesn't say so.
  • Author

Browser cache, perhaps?



If you're seeing a transparent avatar with B4U in it... no.

Check the source: http://content.commu...isionpower.com/. I'm pretty sure it's a CDN of some sorts running.

See, if I change the URL to your avatar manually, it works (click)

The image simply hasn't rolled to the content domain.

Indeed, we use a CDN so your new image may not have been copied over immediately.

  • Author

Indeed, we use a CDN so your new image may not have been copied over immediately.



It still hasn't been, 15 hours later.

How long should it take?

Much longer.

If a cdn is taking 15 hours to update, it's useless imo...

It's like a day or two.

  • Author

Eh, it started showing up after about 16 hours.

It can take up to 24 hours.

  • Author

It can take up to 24 hours.



Wouldn't this problem be avoided by having the upload tool use a different name for each uploaded avatar?

I mean, I know that by using the same name, it makes overwriting old avatars easier code wise, but it also leaves orphaned files when people change avatar file types. For example, when replacing avatar.jpg with avatar.png, avatar.jpg is left behind for no good reason. Multiply that by thousands of members, and you have a serious problem. :)

Since CDN's and services like CloudFlare are becoming popular, I think it'd be a good idea to make the script delete the old avatar when a new one is uploaded, and assign a new name to each avatar, like av-1_1.png, av-1_2.png, av-1_3.png, and so on.

That way, there would be no orphaned files and the new avatar would show up immediately. :smile:

Expanding CDN support in a future version is something we are interested in doing. I was just answering your immediate question.

  • 3 months later...

I second this.. It appears many of my members are frustrated with trying to change their avatars.. I checked the server and the new image does appear correct when I download it, however CloudFlare likely cached the image which is why they don't see it right away.. I agree with the above logic, if users have the ability to change their avatar pics, then appending the avatar by 1 will definitely resolve the issue... Hope this will be considered.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.