aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-12 17:50:14 -0800
committerfriendica <info@friendica.com>2011-11-12 17:50:14 -0800
commitbbf857ba39c87cf907be88ecd013e961f5ad1a7f (patch)
tree2cac6c443698572d879eb6382fb1fc71671cb333 /view
parent240a3431cc524f349cbd997fded9f8bbb88696fa (diff)
downloadvolse-hubzilla-bbf857ba39c87cf907be88ecd013e961f5ad1a7f.tar.gz
volse-hubzilla-bbf857ba39c87cf907be88ecd013e961f5ad1a7f.tar.bz2
volse-hubzilla-bbf857ba39c87cf907be88ecd013e961f5ad1a7f.zip
add revision date to main profile photo to overcome cache when updated, other photos (e.g. conversations) must wait for cache update
Diffstat (limited to 'view')
-rw-r--r--view/profile_vcard.tpl2
-rw-r--r--view/theme/duepuntozero/profile_vcard.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl
index c78eb9b7f..5bcbfd0b0 100644
--- a/view/profile_vcard.tpl
+++ b/view/profile_vcard.tpl
@@ -21,7 +21,7 @@
{{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }}
- <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="$profile.photo" alt="$profile.name" /></div>
+ <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="$profile.photo?rev=$profile.picdate" alt="$profile.name" /></div>
diff --git a/view/theme/duepuntozero/profile_vcard.tpl b/view/theme/duepuntozero/profile_vcard.tpl
index b3f5cc50d..154f22363 100644
--- a/view/theme/duepuntozero/profile_vcard.tpl
+++ b/view/theme/duepuntozero/profile_vcard.tpl
@@ -5,7 +5,7 @@
{{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }}
- <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="$profile.photo" alt="$profile.name"></div>
+ <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="$profile.photo?rev=$profile.picdate" alt="$profile.name"></div>