Page 1 of 1

Phoca gallery plugin with magnific (image only) not work

Posted: 20 Dec 2015, 00:12
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 :)

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

Posted: 25 Dec 2015, 15:48
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

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

Posted: 25 Dec 2015, 16:00
by theudulf
I'm glad that I could help :)

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

Posted: 16 May 2016, 15:05
by Jan
Hi, changed in version 4.3.0

Jan