Widget:Multi upload: verschil tussen versies
Uit Dorpsbelang Den Hout
(Nieuwe pagina aangemaakt met '<noinclude>{{Managed |Version=1.0 |Version notes=1.0 - First managed version |Short description= }} This is the '''Widget:Multi upload''' page. It should be called...') |
|||
Regel 111: | Regel 111: | ||
newImage.src = srcData; | newImage.src = srcData; | ||
− | document.getElementById("imgTest").innerHTML = document.getElementById("imgTest").innerHTML+newImage.outerHTML; | + | var logos = document.querySelectorAll('[alt="Logo.png"]'), i; |
+ | for(i = 0; i < logos.length; ++i){ | ||
+ | logos[i].src = srcData; | ||
+ | } | ||
+ | // document.getElementById("imgTest").innerHTML = document.getElementById("imgTest").innerHTML+newImage.outerHTML; | ||
// alert("Converted Base64 version is " + document.getElementById("imgTest").innerHTML); | // alert("Converted Base64 version is " + document.getElementById("imgTest").innerHTML); | ||
// console.log("Converted Base64 version is " + document.getElementById("imgTest").innerHTML); | // console.log("Converted Base64 version is " + document.getElementById("imgTest").innerHTML); |
Versie van 18 aug 2020 11:39
This is the Widget:Multi upload page. It should be called in the following format:
{{#widget:Multi upload }}