aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-12-21 11:51:19 +0000
committerMario <mario@mariovavti.com>2018-12-21 21:45:33 +0100
commit5ec1e97cae429e2554e89f6df9a704b3ddd36993 (patch)
tree3b877ca3f52ac09c00fe8b39a2291b96d1a21f4c
parent5f5746a2f68cf5fee500478e3049c1a810b71915 (diff)
downloadvolse-hubzilla-5ec1e97cae429e2554e89f6df9a704b3ddd36993.tar.gz
volse-hubzilla-5ec1e97cae429e2554e89f6df9a704b3ddd36993.tar.bz2
volse-hubzilla-5ec1e97cae429e2554e89f6df9a704b3ddd36993.zip
do not add timestamp to the photo src. caching is handled in mod photo now.
(cherry picked from commit e34853e19ea10bde7a4dc2e585da3c26d7032bdb)
-rw-r--r--Zotlabs/Module/Photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php
index b87c586da..3833d5088 100644
--- a/Zotlabs/Module/Photos.php
+++ b/Zotlabs/Module/Photos.php
@@ -988,7 +988,7 @@ class Photos extends \Zotlabs\Web\Controller {
$photo = array(
'href' => z_root() . '/photo/' . $hires['resource_id'] . '-' . $hires['imgscale'] . '.' . $phototypes[$hires['mimetype']],
'title'=> t('View Full Size'),
- 'src' => z_root() . '/photo/' . $lores['resource_id'] . '-' . $lores['imgscale'] . '.' . $phototypes[$lores['mimetype']] . '?f=&_u=' . datetime_convert('','','','ymdhis')
+ 'src' => z_root() . '/photo/' . $lores['resource_id'] . '-' . $lores['imgscale'] . '.' . $phototypes[$lores['mimetype']]
);
if($nextlink)