|supprimer_timestamp

  • New in : SPIP 3.1

Cleans the timestamp added to an URL by |timestamp (or by images filters).

Example:

[(#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.

See also

|timestamp

Author jack Published : Updated : 03/07/23

Translations : English, français, Nederlands