Problem with the phoca gallery image module

Phoca Gallery modules - modules for Phoca Gallery extension
dcarenal
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 18 Dec 2020, 21:01

Problem with the phoca gallery image module

Post by dcarenal »

Hi, I have measured a web from joomla 2.5 to 3.9, with Protostar template and when reinstalling the component, the plugin and the module, the latter deconfigures the width of the rest of the template sections. It can be seen in the images below, with module active and deactivated.
https://drive.google.com/file/d/1f4qkxs ... sp=sharing
https://drive.google.com/file/d/1Dxt0Hu ... sp=sharing
The problem comes from this part of the html code, which does not appear when the module is deactivated.

Code: Select all

<style type = "text/css">
img {
max-width: none !important;
}
</style>
I don't know if this will be the real problem or it comes from somewhere else, but I would appreciate some help.
Thanks and regards
christine
Phoca Hero
Phoca Hero
Posts: 2710
Joined: 28 Nov 2010, 17:20

Re: Problem with the phoca gallery image module

Post by christine »

Hi,

not possible via G drive. https://www.phoca.cz/documents/50-phoca ... forum-post

We need more information please. Which module, plugin, versions, template etc.? In some cases problems are with JAK Lightbox.
To be able to say more, it's useful to see it live!

You could try with:

Code: Select all

#phocagallery img {
max-width: 100%;
}
Kind regards
Christine
dcarenal
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 18 Dec 2020, 21:01

Re: Problem with the phoca gallery image module

Post by dcarenal »

Hi christine,

I put the links to the images in google again, module activated and deactivated
https://drive.google.com/file/d/1f4qkxs ... GszRo/view
https://drive.google.com/file/d/1Dxt0Hu ... dH9jB/view

I am using joomla 3.9.3, Phoca Gallery component v4.3.18 and mod_phocagallery module v4.3.11
The problem, surely JAK Lightbox is giving it, because if you change to another the problem does not occur.
I need to know in which file is the code that I put in the first message, to be able to modify it for the code that you have given me.

Thanks and regards
christine
Phoca Hero
Phoca Hero
Posts: 2710
Joined: 28 Nov 2010, 17:20

Re: Problem with the phoca gallery image module

Post by christine »

Hi,
dcarenal wrote: 25 Dec 2020, 22:06
I am using joomla 3.9.3, Phoca Gallery component v4.3.18 and mod_phocagallery module v4.3.11
Update your Joomla Version please. It's very outdated! (from Feb 2019) Current version is: J 3.9.23
The problem, surely JAK Lightbox is giving it, because if you change to another the problem does not occur.
This we should see, to check with inspector.
I need to know in which file is the code that I put in the first message, to be able to modify it for the code that you have given me.
Your code from first message is an Inline. Try to put my code into e.g. custom.css.

Code: Select all

#phocagallery img {
max-width: 100% !important;
}
Maybe you need an !important; as it's an Inline Code.

Kind regards
Christine
dcarenal
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 18 Dec 2020, 21:01

Re: Problem with the phoca gallery image module

Post by dcarenal »

Hello,

I have tried to fix the problem as you told me, but it doesn't work. Everything is updated to the latest version.
To see the page access here:

https://desarrollo.deportivoclubarenal.es/index.php

Thanks and regards
dcarenal
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 18 Dec 2020, 21:01

Re: Problem with the phoca gallery image module

Post by dcarenal »

Hi christine, is there a solution for this problem?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with the phoca gallery image module

Post by Jan »

Hi, first of all, did you update everything to version 4.4.x ?

Jan
If you find Phoca extensions useful, please support the project
dcarenal
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 18 Dec 2020, 21:01

Re: Problem with the phoca gallery image module

Post by dcarenal »

Hi Jan. Yes, everything is up to date
Joomla 3.9.25
Component 4.4.2
Module 4.4.0
Plugin 4.4.2
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with the phoca gallery image module

Post by Jan »

Hi, I am sorry, but maybe I am lost in this topic, what exactly is the problem now on the website?

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

Re: Problem with the phoca gallery image module

Post by Jan »

BTW,

using JAK method is not recommended if there is needed to run responsive website.

JAK is very obsolete method and e.g. in version 4.5.0 (Joomla! 4) it was removed. So it is recommended to use some modern responsive method like Photoswipe, etc. :idea:

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