Hey guys,
Just a question about the search function..
I name my images as "image-name-here.jpg"... so when I search for "image name here" nothing comes up, I have to add the hyphens and search for "image-name-here" in order for the image to show... is there a way to change that so that hyphens are regarded as spaces?
Thanks in advance for any help,
Rachel
Thanks sbillard, using "&" doesn't seem to work for me though on v1.2.1.. or did you mean you have to search for "image" and "name" and "here" separately and there's no way around that?
Like on the demo gallery, with the image named "Monet - sunrise" (http://www.zenphoto.org/zenphoto/impressionists/Monet+-+sunrise.jpg.php)
searching for "monet sunrise" won't result in anything.. it will only result in something if you specifically search for "monet - sunrise".. I was wondering if that could be changed so that any symbols like "-" could be disregarded by the search function so it could recognize the "monet sunrise".
Thanks for your help,
Rachel
I took a look at your site and tried a few things. This problem seems to be due to the issue we have that TAGS do not work in boolean searches with the AND (&) operator. If I turn off the TAGS field in the search the image is found.
So it would appear your choices are:
Right now I do not have an idea of how to get the two search types working together.
Oops, I found the option to disable tag searching in the gallery config, sorry.
I apologize for all of the questions, but just one more!
Although the "File/Folder name" and "Title" box is ticked under the search options (on the demo zenphoto gallery), a search for "impressionists & monet" doesn't return anything (the monet picture is in the impressionists folder, http://www.zenphoto.org/zenphoto/impressionists/Monet+-+sunrise.jpg.php). I thought I could use that when I wanted to search a specific album by using "albumfoldername & imagename" but it's not working for me, are the two searches not able to work together or am I searching for it incorrectly?
Also, I'd imagine this wouldn't be possible, but just in case, I was wondering if it were possible for a space between 2 words to be classified as an "and", instead of manually entering "&" (users wouldn't know to use that symbol automatically).
Thanks again for all of the help, it's much appreciated.
Rachel
It will not work because the album is a separate item from the image. You are searching the filename for inclusing of both impressionists and monet which combination does not exist.
You will need to teach your users to use AND (or &). Spaces in searches normally are assumed to be OR joins so making them an AND join would be even more confusing than using the text as a literal string (which is what we have chosen to do.)