|
After digging around, I found the answer in one of my previous posts concerning something else..however, the syntax express was wrong..
Find in showphoto.php: if ( empty($keywords) )
Add above: // preg_replace below strip out any punctuation and spaces from title, replacing such characters with spaces for better keywords
$title = preg_replace("/[^0-9A-Za-z]/", " ", $title);
this will strip out any symbol (not a number or a letter), and convert it to a space..
Now, how do we get the filename to be added to the keywords one may enter as additional to the keyword listing? I need some sort of function to add the $title to the $keywords to equal the new $keys?
|