hi,
PHP is a good solution.
A simple script such as
does what you want.PHP Code:<?php
//path to directory
$directory = './images/';
//get all image files with a .jpg, .jpeg, .png or .gif extension
$images = glob("$directory{*.gif,*.jpg,*.jpeg,*.png}", GLOB_BRACE);
// view the array with the images' names
print_r($images);
?>
After having the images in an array, you can still generate an xml file dynamically.




Reply With Quote