Phoca Gallery Plugin

Phoca Gallery - image gallery extension
User avatar
f.gruber
Phoca Member
Phoca Member
Posts: 39
Joined: 12 Sep 2012, 11:47

Phoca Gallery Plugin

Post by f.gruber »

Hi,
I have found that images displayed with the Phoca Gallery Plugin are displayed in very small size inside a big frame. This happens only on smartphones and that does not look good.
I compared the HTML of the normal Phaca Gallery View with that of the plugin and I found that there are missing two class definitions in the plugin.

Code: Select all

img img-responsive
I added these two classes to the code in

Code: Select all

/plugins/content/phocagallery/phocagallery.php
in line 972 and 974 in this way:

Code: Select all

$output .='<img class="pg-image img img-responsive" src="...
This solved my problem ...

May be it can halp others.
Or did I forget to change something otherwhere?

Many Thanks for your work.
Ferdinand
Last edited by f.gruber on 17 Dec 2017, 16:55, edited 2 times in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Plugin

Post by Jan »

Hi, thank you very much for the info, I will take a look at it and will implement it in next version.

Thank you, Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Plugin

Post by Jan »

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