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
30 | |||||
27 | |||||
15 | |||||
958 | |||||
1 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.1109614.644+10
- 4.608220.734+2
- 5.276108.719+27
- 6.305114.728+1
- 7.916405.693-2
- 8.722440.621+4
- 9.261137.656+2
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1235
Board Info
824 users are online:
824 guests
0 post in the last 24h
8 posts in the last week
34 posts in the last month
8 posts in the last week
34 posts in the last month
Registered members: 49113
Welcome our newest member, Dedek545
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Dedek545
Most online: 2043 users on 29 Oct 2023, 01:04 AM