Hello i got code where i put my images in array
<?php
foreach (array_merge(glob("NU/*.[jJ][pP][gG]"),glob("NU/*.[pP][nN][gG]"),glob("NU/*.[jJ][pP][eE][gG]"),glob("NU/*.[gG][iI][fF]")) as $filename) {
}
?>
and i got javascript where i must use this $filename! how can i put this value in javascript operations? some example would be welcome and appreciated ;)