Phoca gallery search result in original size

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

Phoca gallery search result in original size

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca gallery search result in original size

Post 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
If you find Phoca extensions useful, please support the project
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 13 Apr 2011, 16:28

Re: Phoca gallery search result in original size

Post by sapo »

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: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca gallery search result in original size

Post 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
If you find Phoca extensions useful, please support the project
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 75
Joined: 13 Apr 2011, 16:28

Re: Phoca gallery search result in original size

Post by sapo »

ok, thanks.
then i will resize all phoca_thumb_l_xxx thumbnails
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca gallery search result in original size

Post by Jan »

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