some m_thumbs out of framework after update to 4.3
Posted: 19 Jul 2016, 13:29
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
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