on supprime le hash, on le remplace par 3 criteres hauteur / largeur /
taille up de z
This commit is contained in:
parent
5d21b9b8f3
commit
4138f71680
3 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,9 @@ function bigform_post_edition($flux){
|
|||
) {
|
||||
$url = generer_url_public("retailler_img", [
|
||||
"id_document" =>intval($id_document),
|
||||
"hash" => md5(date("Y-m-d"))
|
||||
"largeur" => $flux['data']['largeur'],
|
||||
"hauteur" => $flux['data']['hauteur'],
|
||||
"taille" => $flux['data']['taille'],
|
||||
], true, false);
|
||||
|
||||
$ch = curl_init($url);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<paquet
|
||||
prefix="bigform"
|
||||
categorie="edition"
|
||||
version="1.1.5"
|
||||
version="1.1.6"
|
||||
etat="dev"
|
||||
compatibilite="[3.2.5;3.3.*]"
|
||||
logo="prive/themes/spip/images/bigform-64.png"
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
#CACHE{0}
|
||||
|
||||
<BOUCLE_documents(DOCUMENTS){si #ENV{hash}|=={#DATE|affdate{Y-m-d}|md5}}{id_document}{tout}>
|
||||
<BOUCLE_documents(DOCUMENTS){id_document}{largeur}{hauteur}{taille}{tout}>
|
||||
[(#FICHIER|image_recadre{3072:1800,-,focus}|adaptive_images{3072})]
|
||||
[(#FICHIER|image_recadre{2048:1200,-,focus}|adaptive_images{2048})]
|
||||
[(#FICHIER|image_recadre{1024:600,-,focus}|adaptive_images{1024})]
|
||||
|
|
Loading…
Add table
Reference in a new issue