Browse Source

Pas de |image_reduire avant |adaptive_images sinon adaptive_images n'a pas de quoi générer les images en HD

master
jeanmarie 4 months ago
parent
commit
8d0d6182a3
  1. 4
      content/sommaire.html
  2. 2
      inclure/liste/articles.html
  3. 2
      inclure/liste/rubriques.html

4
content/sommaire.html

@ -35,7 +35,7 @@
<BOUCLE_rubriques(RUBRIQUES){si #CONFIG{html5up/rubriques_accueil_masquer}|!={on}|oui}{id_rubrique IN #GET{rubaccueil}}>
<section class="spotlight">
[<div class="image #EDIT{logo}"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|extraire_attribut{src}
|image_recadre{980:700, -, focus}|image_reduire{980,700}
|image_recadre{980:700, -, focus}|
|adaptive_images{980,'(max-width: 980px) 100vw, (max-width: 1024px) 50vw, 50vw'})</a>
</div>]
<div class="content">
@ -52,7 +52,7 @@
<BOUCLE_rubriquesdef(RUBRIQUES){si #CONFIG{html5up/rubriques_accueil_masquer}|!={on}|oui}{racine}{par num titre, titre}{0,#CONFIG{html5up/rubriques_accueil_nb,5}}>
<section class="spotlight">[(#SET{alt,[(#TITRE|attribut_html)]})]
[<div class="image #EDIT{logo}"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|extraire_attribut{src}
|image_recadre{980:700, -, focus}|image_reduire{980,700}
|image_recadre{980:700, -, focus}|
|adaptive_images{980,'(max-width: 980px) 100vw, (max-width: 1024px) 50vw, 50vw'})</a>
</div>]
<div class="content">

2
inclure/liste/articles.html

@ -7,7 +7,7 @@
{pagination #ENV{parpage,10}}>
<section class="spotlight">
[<div class="image #EDIT{logo}"><a href="#URL_ARTICLE">(#LOGO_ARTICLE|extraire_attribut{src}
|image_recadre{870:620,-, focus}|image_reduire{870,620}
|image_recadre{870:620,-, focus}
|adaptive_images{870,'(max-width: 980px) 100vw, (max-width: 1024px) 40vw, 40vw'})</a>
</div>]
<div class="content">

2
inclure/liste/rubriques.html

@ -2,7 +2,7 @@
<BOUCLE_rubriques(RUBRIQUES){par num titre, titre}{id_parent=#ID_RUBRIQUE}{!par date}{id_mot?}{pagination #ENV{parpage,10}}>
<section class="spotlight">
[<div class="image #EDIT{logo}"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|extraire_attribut{src}
|image_recadre{870:620,-, focus}|image_reduire{870,620}
|image_recadre{870:620,-, focus}
|adaptive_images{870,'(max-width: 980px) 100vw, (max-width: 1024px) 40vw, 40vw'})</a>
</div>]
<div class="content">

Loading…
Cancel
Save