Page 1 of 2

Problem with the phoca gallery image module

Posted: 19 Dec 2020, 02:01
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

Re: Problem with the phoca gallery image module

Posted: 19 Dec 2020, 13:30
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

Re: Problem with the phoca gallery image module

Posted: 25 Dec 2020, 22:06
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

Re: Problem with the phoca gallery image module

Posted: 25 Dec 2020, 23:24
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

Re: Problem with the phoca gallery image module

Posted: 27 Jan 2021, 03:00
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

Re: Problem with the phoca gallery image module

Posted: 01 Mar 2021, 02:46
by dcarenal
Hi christine, is there a solution for this problem?

Re: Problem with the phoca gallery image module

Posted: 02 Mar 2021, 15:26
by Jan
Hi, first of all, did you update everything to version 4.4.x ?

Jan

Re: Problem with the phoca gallery image module

Posted: 09 Mar 2021, 01:07
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

Re: Problem with the phoca gallery image module

Posted: 09 Mar 2021, 17:54
by Jan
Hi, I am sorry, but maybe I am lost in this topic, what exactly is the problem now on the website?

Jan

Re: Problem with the phoca gallery image module

Posted: 10 Mar 2021, 15:26
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