'; } } else { echo '
No images found in the folder.
'; } } else { echo '
Image directory not found.
'; } ?>