Phoca gallery search result in original size

Phoca Gallery plugins - plugins for Phoca Gallery extension
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 73
Joined: 13 Apr 2011, 16:28

Phoca gallery search result in original size

Post by sapo » 09 Dec 2019, 15:01

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

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42872
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca gallery search result in original size

Post by Jan » 10 Dec 2019, 16:35

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
If you find Phoca extensions useful, please support the project

sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 73
Joined: 13 Apr 2011, 16:28

Re: Phoca gallery search result in original size

Post by sapo » 10 Dec 2019, 22:18

Hi Jan
using Phoca Gallery 4.3.18 and
Phoca Gallery Search Plugin 4.3.11
Thanks for helping

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42872
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca gallery search result in original size

Post by Jan » 12 Dec 2019, 15:41

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
If you find Phoca extensions useful, please support the project

sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 73
Joined: 13 Apr 2011, 16:28

Re: Phoca gallery search result in original size

Post by sapo » 13 Dec 2019, 09:44

ok, thanks.
then i will resize all phoca_thumb_l_xxx thumbnails

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42872
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca gallery search result in original size

Post by Jan » 16 Dec 2019, 17:33

Hi, yes, you can set the same size of large thumbnail like the original images have.

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

Post Reply