I'm using the DisplayAnything module on SS 2.4.7. I can create galleries fine but when do a search using SearchForm no images show up in the search results. This is a site to showcase an artist's work, so all images in the assets file need to be searchable.
By default jpg's are saved to the File table with ClassName 'Image'. When uploading jpg's to a gallery using the DisplayAnything module they seem to be saved with ClassName 'DisplayAnythingFile'. If I manually change the Classname of these records to "File" then they show up in the search results.
Is this the default behaviour for SearchForm, to only include files from the asssets folder with ClassName specifically set to 'File'?
If so, is there a way I can override that to include 'Image', 'DisplayAnythingFile' etc classnames too?
Any help on this would be really appreciated; I've spent loads of time trying to figure it out.
No solution I'm afraid. Fortunately for me the client decided to ditch the search entirely so I've been able to forget all about it. Perhaps there has been more flexibility built into the search functionality in SS3? If I get a chance I might have a look into this.
As an aside, have you considered using Google Custom Search instead to search images on your site? I've used it for site searches before and it's awesome. Might be worth a look.