I have a list of 10 small images that facilitate the background assembly for a captcha PHP script. It would be good to put all the background images in a folder out of view.

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. Am I on the right track??

Regards