Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Would you be willing to change your page.tpl.php file to dynamically pull the file names out of the slideshows folder? It would just be adding something similar to the code below in place of the hardcoded img's.
<div class="slideshow">
<?PHP
$count=0;
if ($handle = opendir('./sites/all/themes/danland/images/slideshows')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") { ?>
<img src="<?php print $base_path . $directory ."/images/slideshows/". $file; ?>" width="950" height="355" alt="slideshow <?=$count?>"/>
<? $count++; }
}
closedir($handle);
}
?>
</div>
What do you think?