Page 1 of 1

Phoca gallery search result in original size

Posted: 09 Dec 2019, 15:01
by sapo
with phoca gallery search plugin, the search result go to large thumbnail example

Code: Select all

/images/phocagallery/Voegel/thumbs/phoca_thumb_l_eisvogel-02.jpg
How to change it to go to original picture example

Code: Select all

/images/phocagallery/Voegel/eisvogel-02.jpg
?
Thanks for helping

Re: Phoca gallery search result in original size

Posted: 10 Dec 2019, 16:35
by Jan
Hi, which version of Phoca Gallery and Phoca Gallery Search plugin do you use?

The link in serch results goes to category view, there is no link directly to the thumb or original image :idea:

Jan

Re: Phoca gallery search result in original size

Posted: 10 Dec 2019, 22:18
by sapo
Hi Jan
using Phoca Gallery 4.3.18 and
Phoca Gallery Search Plugin 4.3.11
Thanks for helping

Re: Phoca gallery search result in original size

Posted: 12 Dec 2019, 15:41
by Jan
Hi, you need to change the link in the file (in the same like described here: viewtopic.php?f=9&t=60661&p=159083#p159083 )

Change this:

Code: Select all

$listImages[$key]->href = JRoute::_(PhocaGalleryRoute::getImageRoute($value->id, $value->catid, $value->alias, $value->catalias));
But Phoca Gallery does not have any route to full image, so the route must be manually set :-(

Jan

Re: Phoca gallery search result in original size

Posted: 13 Dec 2019, 09:44
by sapo
ok, thanks.
then i will resize all phoca_thumb_l_xxx thumbnails

Re: Phoca gallery search result in original size

Posted: 16 Dec 2019, 17:33
by Jan
Hi, yes, you can set the same size of large thumbnail like the original images have.

Jan