src des photos sans js

This commit is contained in:
chankalan 2021-09-09 15:41:14 +02:00
parent 94179efbb2
commit 8db5aa218f
2 changed files with 1 additions and 7 deletions

View File

@ -85,7 +85,7 @@
</h2> </h2>
<div class="flex flex3 #EDIT{podcast_galeriephotos}"> <div class="flex flex3 #EDIT{podcast_galeriephotos}">
<BOUCLE_photos(DATA){source file, #PODCAST_GALERIEPHOTOS}{valeur == #GET{thumbs}}{0,3}> <BOUCLE_photos(DATA){source file, #PODCAST_GALERIEPHOTOS}{valeur == #GET{thumbs}}{0,3}>
<figure class="photoapril">#VALEUR</figure> <figure class="photoapril">[<img src="https://photos.april.org/(#VALEUR|extraire_attribut{src})"[ alt="(#VALEUR|extraire_attribut{alt})"] />]</figure>
</BOUCLE_photos> </BOUCLE_photos>
</div> </div>
</div> </div>

View File

@ -1,11 +1,5 @@
$(function() { $(function() {
// remettre l'origine des photos en galerie
$('.photoapril img').each(function() {
$(this).attr('src', 'https://photos.april.org/' + $(this).attr('src') );
});
}); });