Aspect Ratio Issue with Phoca Gallery Plugin 4.5.4 (Joomla 4)
Posted: 11 Jun 2023, 22:54
Hello,
I am currently upgrading my website from Joomla 3 to Joomla 4 on a XAMPP environment locally. I got everything working and also migrated Phoca Gallery from Joomla 3 to 4 according to the manual (copy of images, then export / import of phocagallery entries inside SQL database). Everything is working so far, except the detail view.
I am currently using the following:
- Phoca Gallery 4.5.3
- Phoca Gallery Plugin 4.5.4
On my Joomla 3 website, I was using Highslide for the detail view but unfortunately, there is no real replacement for that. Very important, I also have to say, that I always generated my thumbnail files inside my photo environment (so Lightroom) and then optimized the size of the files via TinyPNG. This always worked fine.
The look of the old homepage can be found here (this is an example):
sanctaterra.de/de/de-konzerte/47-de-konzerte-metal-female-voices-fest-x/436-de-20121021xandria.html
When I have the new site, everything looks OK so far (CSS is not yet updated):
In order to use the original files in detailed view, I copied them across the large thumbnail files (they are of size 800px x 530px or 530px x 800px). The gallery is called via {phocagallery view=category|categoryid=227|limitstart=0|limitcount=0} (also removing limitstart and limit count does not change anything).
Landscape looks good, Portrait is completely rescaled to portrait size.
Detail window width/height does only have an effect on the aspect ratio. So when setting it to landscape, everything in detailed view is shown as landscape, when using a portrait ratio, everything is shown as portrait.
I really would like to continue using Phoca Gallery (already using it for more nearly 15 years) although I do not like Photoswipe a lot up to now, but in order to do so, I need a solution for the aspect ratio issue I am facing. Am I doing something wrong, or do I have to configure something differently?
Another strange behaviour I am facing is: in case I try to recreate the thumbnails, Phoca Gallery tells me that the thumbnails were recreated successfully, but this did not happen. In reality, it deleted the thumbnails. I can click as often as I want onto the button: each time the successfull message appears, but no thumbnails are generated or in case they already existed, they were deleted. Current setup is like this (sorry, too many links, only 5 allowed due to board rules):
sanctaterra.de/images/phocagallery/phoca/setup_01.png
sanctaterra.de/images/phocagallery/phoca/setup_02.png
I really hope, that you can help me on and that it is only a minor issue with the aspect ratio.
I am currently upgrading my website from Joomla 3 to Joomla 4 on a XAMPP environment locally. I got everything working and also migrated Phoca Gallery from Joomla 3 to 4 according to the manual (copy of images, then export / import of phocagallery entries inside SQL database). Everything is working so far, except the detail view.
I am currently using the following:
- Phoca Gallery 4.5.3
- Phoca Gallery Plugin 4.5.4
On my Joomla 3 website, I was using Highslide for the detail view but unfortunately, there is no real replacement for that. Very important, I also have to say, that I always generated my thumbnail files inside my photo environment (so Lightroom) and then optimized the size of the files via TinyPNG. This always worked fine.
The look of the old homepage can be found here (this is an example):
sanctaterra.de/de/de-konzerte/47-de-konzerte-metal-female-voices-fest-x/436-de-20121021xandria.html
When I have the new site, everything looks OK so far (CSS is not yet updated):
In order to use the original files in detailed view, I copied them across the large thumbnail files (they are of size 800px x 530px or 530px x 800px). The gallery is called via {phocagallery view=category|categoryid=227|limitstart=0|limitcount=0} (also removing limitstart and limit count does not change anything).
Landscape looks good, Portrait is completely rescaled to portrait size.
Detail window width/height does only have an effect on the aspect ratio. So when setting it to landscape, everything in detailed view is shown as landscape, when using a portrait ratio, everything is shown as portrait.
I really would like to continue using Phoca Gallery (already using it for more nearly 15 years) although I do not like Photoswipe a lot up to now, but in order to do so, I need a solution for the aspect ratio issue I am facing. Am I doing something wrong, or do I have to configure something differently?
Another strange behaviour I am facing is: in case I try to recreate the thumbnails, Phoca Gallery tells me that the thumbnails were recreated successfully, but this did not happen. In reality, it deleted the thumbnails. I can click as often as I want onto the button: each time the successfull message appears, but no thumbnails are generated or in case they already existed, they were deleted. Current setup is like this (sorry, too many links, only 5 allowed due to board rules):
sanctaterra.de/images/phocagallery/phoca/setup_01.png
sanctaterra.de/images/phocagallery/phoca/setup_02.png
I really hope, that you can help me on and that it is only a minor issue with the aspect ratio.