Images in search results

Phoca Gallery - image gallery extension
cecilbadlands
Phoca Member
Phoca Member
Posts: 24
Joined: 28 Sep 2009, 01:01

Images in search results

Post by cecilbadlands »

I have a large Phoca gallery with several categories and sub-categories. I would like to provide a search feature to the viewers so that a user can type in a search term (keyword) and have the images displayed. Is there a way to accomplish this? I tried 'Custom Properties' but it only returns the titles, tags and categories, I can't get it to display the images. I haven't had much support from the developer. Or if someone has experience with Custom Properties maybe we can get that to work. The site is not yet indexed by Google.Thanks in advance for any guidance.
Regards,
Bill
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Images in search results

Post by Jan »

Hi, there is Phoca Gallery search plugin but as the search outcomes are displayed by Joomla! not by Phoca Gallery, this needs to be customized, e.b. because of displaying images next to image names in the search outcome :-(

Jan
If you find Phoca extensions useful, please support the project
vincent79
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 23 May 2016, 14:38

Re: Images in search results

Post by vincent79 »

Hello,

i've tried the solution given in your aticle : "Displaying Images In Joomla! Search Results"
https://www.phoca.cz/news/15-phoca-galle ... ch-results

Iit works with components
but it gaves strange paths for joomla article images :

<img class="img_loaded" alt="" src="/{"image_intro":"images\/stories\/partner\/news\/images6789.jpg","float_intro":"","image_intro_alt":"","image_intro_caption":"","image_fulltext":"images\/stories\/partner\/news\/images6789.jpg","float_fulltext":"","image_fulltext_alt":"","image_fulltext_caption":""}">

Any idea?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Images in search results

Post by Jan »

Hi, I think you need to limit the code for search outcomes of Phoca Gallery only :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply