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
62 | |||||
40 | |||||
23 | |||||
13 | |||||
4 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.589215.733+4
- 4.1101614.642+2
- 5.305114.728+1
- 6.916405.693-2
- 7.271108.715+22
- 8.721440.621+3
- 9.1041674.607-2
- 10.17146.788+1
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1232
Board Info
784 users are online:
1 member and 783 guests
Rosbone
Rosbone
1 post in the last 24h
8 posts in the last week
38 posts in the last month
8 posts in the last week
38 posts in the last month
Registered members: 49082
Welcome our newest member, 23winlocker
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, 23winlocker
Most online: 2043 users on 29 Oct 2023, 01:04 AM