Thanks. The first option done the trick and facilitated the tidy up of a whole lot of images. Thanks also for advising on the alternative options.:D
However this might get me into trouble as this now ventures into PHP!
The line of script is as follows:
$image = imagecreatefromjpeg("background$bgNum.jpg");
I have tried putting the images in a folder called 'album' and amending the script as follows:
$image = imagecreatefromjpeg("./album/background$bgNum.jpg");
It did not work but am I on the right track??
Perhaps some other members of this forum can help with the PHP part,
but that is something above my pay grade. :o
If you get no responses, you might try a different section of this webpage. :rolleyes: