ResponsiveFilemanager icon indicating copy to clipboard operation
ResponsiveFilemanager copied to clipboard

Remove Timestamp

Open bbtimx opened this issue 9 years ago • 3 comments

Hello,

is there a way to remove the timestamp after the image url? for example: http;//dsufgr.com/images/hello.jpg?12345676543

bbtimx avatar Jul 14 '16 14:07 bbtimx

I'm having this issue as well. I'm looking at upgrading from 9.9.7 to 9.10.2 and there is now a timestamp being appended to all my image URLs (it doesn't happen when selecting files). I'm assuming the intent of this is to get around image caching issues, but it should be a configuration option at least.

cdaveb avatar Sep 07 '16 19:09 cdaveb

to remove timestamp from image insert (coming back from filemanager) or direct insert from filemanager you have to edit this file: filemanager/js/include.js

from image insert: find c=c+"?"+(new Date).getTime() and replace it with c=c from filemanager: find f=f+"?"+(new Date).getTime() and replace it with f=f

PeterisM avatar Sep 21 '16 19:09 PeterisM

In the latest version it is a config option. add_time_to_img set this boolean to true of false, default is true.

WebVooruit avatar Nov 18 '20 07:11 WebVooruit