Username: 
Password: 
Restrict session to IP 
Online within 1d

Upload a new avatar

Global Rank: 11
Totalscore: 508591
Posts: 67
Thanks: 90
UpVotes: 69
Registered: 18y 242d
lordOric`s Avatar













Last Seen: 186d 5h
The User is Offline
Upload a new avatar
Google/translate1Thank You!1Good Post!0Bad Post! link
Hi !

I'm unable to upload a new avatar :
http://www.wechall.net/account.php?section=forum

I'm selecting a new picture (43x47, 2069 bytes), and the message «Your avatar has been uploaded.» is displayed, but with the old one.
Global Rank: 52
Totalscore: 271416
Posts: 60
Thanks: 61
UpVotes: 32
Registered: 18y 213d
mirmo`s Avatar








The User is Offline
Upload a new avatar
Google/translate1Thank You!1Good Post!0Bad Post! link
ça fonctionne...

C'est Sim avec un ruban noir

Un soucis de cache selon moi Smile
Global Rank: 198
Totalscore: 110647
Posts: 1795
Thanks: 1390
UpVotes: 961
Registered: 18y 258d




Last Seen: 64d 22h
The User is Offline
Upload a new avatar
Google/translate1Thank You!1Good Post!0Bad Post! link
When uploading an avatar the old one is still in the users browser-caches.

I have put "avatar version" on todo that will fix the caching issue Smile
The geeks shall inherit the properties and methods of object earth.
Global Rank: 11
Totalscore: 508591
Posts: 67
Thanks: 90
UpVotes: 69
Registered: 18y 242d
lordOric`s Avatar













Last Seen: 186d 5h
The User is Offline
Upload a new avatar
Google/translate1Thank You!1Good Post!0Bad Post! link
Quote from Gizmore
When uploading an avatar the old one is still in the users browser-caches.


You're right, I can see it, now.

I have put "avatar version" on todo that will fix the caching issue Smile


It's maybe not the best (nor the simple) way to do that, but is there any way to force the browser to use "If-Modified-Since" HTTP Header for this kind of content ?

Last edited by lordOric - Sep 07, 2009 - 19:07:25
Global Rank: 198
Totalscore: 110647
Posts: 1795
Thanks: 1390
UpVotes: 961
Registered: 18y 258d




Last Seen: 64d 22h
The User is Offline
Upload a new avatar
Google/translate1Thank You!1Good Post!0Bad Post! link
It`s actually quite simple to add an avatar version.

every time you upload an avatar i will increase the version by 1.

the img url will then be like /img/avatar/uid?v=N and it will trigger a recache on a changed version Smile

Works like a charm on other projects.
The geeks shall inherit the properties and methods of object earth.
obeid2, quangntenemy, TheHiveMind, Z, balicocat, Ge0, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, fpombal, csuquvq have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 3910 times.

PHP Fatal Error(1): Constant E_STRICT is deprecated since 8.4, the error level was removed in www/protected/config.php line 6


Backtrace starts in [unknown file] line ?. GWF_Debug::shutdown_function() core/inc/util/GWF_Debug.php line 109. GWF_Debug::error_handler().... core/inc/util/GWF_Debug.php line 180.