some m_thumbs out of framework after update to 4.3

Phoca Gallery - image gallery extension
talenhj
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 19 Jul 2016, 11:20

some m_thumbs out of framework after update to 4.3

Post by talenhj »

Hi,

I upgrades Phoca Gallery from 4.2.2 to 4.3
I want to keep the proportions of the images original for the thumbs.
In 4.2.2 there was not any problem with that. By the way, I used phoca gallery several years with great satisfaction and did a lot of updates.

After upgrading the images with normal dimensions like w x h = 900x600px all the thumbs are going well, so the images with a smaller widht than 900px, for example 750x600px or 750x750px, are going well too. The m_thumbs get a size of Hx100px and that is ok, because I set the configuration 100x100px. They kept the good dimensions and stay on there places inside there frameworks after publishing.The width of 100px is leading. See number 1 and 2 on the screendumps.

All the images where the width is smaller than the height have a problem. For example this one 500x750px, becomes a m_thumb of 66x100px. The dimensions of the thumbs are ok.
But after publishing on the screen it appears as a resized thumb of 100x152px and the image get out of his framework in the height.
See number 3 on the screendumps. Here is also the width of 100px leading for resizing. It looks like something with the template, I tried some other templates and the problems were the same. I'm still using the same template as before without any change.

I placed a screendump of both situations and the resized information on:
http://www.neltalen.nl/phoca/before_update.pdf
http://www.neltalen.nl/phoca/after_update.pdf
http://www.neltalen.nl/phoca/resized.pdf

As I said this problem occured after the last update for the first time and is repeatable.
Where do I have to look to solve this problem? I hope some one can help me.
Regards,
Harry

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9112
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: some m_thumbs out of framework after update to 4.3

Post by Benno »

Hi,
go to: media\com_phocagallery\css\main\phocagallery.css
Line 960
Change from:

Code: Select all

.img-responsive2{width:100%;}
to:

Code: Select all

.img-responsive2{}
Kind regards,
Benno
talenhj
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 19 Jul 2016, 11:20

Re: some m_thumbs out of framework after update to 4.3

Post by talenhj »

Hi Benno,
Super! Solved.
Thank you very much.
Best regards,
Harry
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9112
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: some m_thumbs out of framework after update to 4.3

Post by Benno »

You're welcome!

Kind regards,
Benno
Post Reply