Phoca gallery plugin with magnific (image only) not work

Phoca Gallery - image gallery extension
theudulf
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 16 Aug 2015, 19:32

Phoca gallery plugin with magnific (image only) not work

Post by theudulf »

Hi,

Atm when I want to run phoca gallery plugin with and use maginific (image only) each image will open in new window with phoca gallery buttons under it.

This is caused by
- differen styles rendered by plugin
- jQuery('#pg-msnr-container').magnificPopup is not rendered in plugin.

By updating two files:

renderdetailwindow.php line 428
$js[] = ' jQuery(\'.phocagallery\').magnificPopup({';

and phocagallery.php line 1419
$output .= ' href="'.$imgLink.'"';

we can teporarily trigger all plugins with maginific (image only) and fix links.

is there a way to fix it?

Kind regards,
Simon :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca gallery plugin with magnific (image only) not work

Post by Jan »

Hi, thank you for the info, I will take a look at this when working on next version of Phoca Gallery.

Thank you. Jan
If you find Phoca extensions useful, please support the project
theudulf
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 16 Aug 2015, 19:32

Re: Phoca gallery plugin with magnific (image only) not work

Post by theudulf »

I'm glad that I could help :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca gallery plugin with magnific (image only) not work

Post by Jan »

Hi, changed in version 4.3.0

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