src des photos sans js
This commit is contained in:
parent
94179efbb2
commit
8db5aa218f
@ -85,7 +85,7 @@
|
||||
</h2>
|
||||
<div class="flex flex3 #EDIT{podcast_galeriephotos}">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,10 +1,4 @@
|
||||
$(function() {
|
||||
|
||||
// remettre l'origine des photos en galerie
|
||||
$('.photoapril img').each(function() {
|
||||
$(this).attr('src', 'https://photos.april.org/' + $(this).attr('src') );
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user