SPIP

[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [uk] [vi] [zh] Espace de traduction

Download

|supprimer_timestamp

27 February — updated on : 20 February

All the versions of this article:


Cleans the timestamp added to an URL by |timestamp (or by images filters). This filter is available since SPIP 3.1.

Example:
In SPIP 3.1, [(#LOGO_ARTICLE|image_reduire{400,0}|extraire_attribut{src})] generates a string like IMG/arton1.jpg?1455796719

If we apply the filter |supprimer_timestamp to the previous code, we get the address of the thumbnail without the timestamp:
[(#LOGO_ARTICLE|image_reduire{400,0}|extraire_attribut{src}|supprimer_timestamp)]
generates a string like IMG/arton1.jpg.


Show the template of this page Site powered by SPIP | Translation area | Private area