You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
515 B

<BOUCLE_doc(DOCUMENTS){id_article}{extension IN png,jpg,gif}{0,1}>[[(#ENV{callback_jsonp})\(](#ARRAY{
version,1.0,
type,photo,
provider_name,[(#NOM_SITE_SPIP)],
provider_url,[(#URL_SITE_SPIP)],
title,[(#TITRE)],
author_name,[(#CREDITS)],
width,[(#ENV{maxwidth,#LARGEUR})],
height,[(#ENV{maxheight,#HAUTEUR})],
url,[(#URL_DOCUMENT|image_reduire{#ENV{maxwidth,0},#ENV{maxheight,0}}|extraire_attribut{src}|sinon{#URL_DOCUMENT}|url_absolue)]
}|json_encode_html)[\)(#ENV{callback_jsonp}|oui)]]</BOUCLE_doc>
#FILTRE{trim}