Unable to change to custom avatar.
30 May 2015, 03:52 AM
#1
Posts: 1963 | Subs: 1
Title. The gallery's avatars are working fine but custom avatars are not working. Tried it 3 times so far.
30 May 2015, 21:16 PM
#2
Posts: 1740
Delete your cache, the new file usually has the same name and your browser won't recognise the change.
30 May 2015, 22:35 PM
#3
Posts: 1248
dat dat avatar
31 May 2015, 01:42 AM
#4
Posts: 1963 | Subs: 1
Delete your cache, the new file usually has the same name and your browser won't recognise the change.Seems to have changed itself without me doing anything. Maybe shutting down my computer did it.
dat dat avatar
2 Jun 2015, 11:54 AM
#5
Posts: 255
You actually can use ctrl+f5 to reload images/scripts and stylesheets. Works 99% of time.
This tho (as well as clearing your cache from settings) will reload the image for you only. All other site users will probably see the old image as it is cached on each of their browsers (until it decides that it should reload image(s)).
Since custom avatar images name is your ID - only thing to do here is save somewhere value which is included when rendering image (as: 12345.jpg?=some_value) when some_value could be the timestamp for example and update it when new avatar gets uploaded. (or find another way to name avatar files)
Another way would be to inject there some value whitch (same way) - for example date formatted (ddMMyyyy) - which would make u free of need to create another column for users. It would then reload avatars for everyone once a day.
This tho (as well as clearing your cache from settings) will reload the image for you only. All other site users will probably see the old image as it is cached on each of their browsers (until it decides that it should reload image(s)).
Since custom avatar images name is your ID - only thing to do here is save somewhere value which is included when rendering image (as: 12345.jpg?=some_value) when some_value could be the timestamp for example and update it when new avatar gets uploaded. (or find another way to name avatar files)
Another way would be to inject there some value whitch (same way) - for example date formatted (ddMMyyyy) - which would make u free of need to create another column for users. It would then reload avatars for everyone once a day.
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
3 | |||||
39 | |||||
9 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.611220.735+5
- 3.35057.860+15
- 4.1110614.644+11
- 5.276108.719+27
- 6.306114.729+2
- 7.918405.694+2
- 8.262137.657+3
- 9.722440.621+4
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1236
Board Info
783 users are online:
783 guests
0 post in the last 24h
7 posts in the last week
34 posts in the last month
7 posts in the last week
34 posts in the last month
Registered members: 49123
Welcome our newest member, monopolygou4gm
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, monopolygou4gm
Most online: 2043 users on 29 Oct 2023, 01:04 AM