Phofa Gallery Plugin Joomla 4 images size

Phoca Gallery - image gallery extension
ml44230
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Jan 2022, 09:54

Phofa Gallery Plugin Joomla 4 images size

Post by ml44230 »

Hello
I'm using Phoca Gallery content plugin latest version with Phoca Gallery 4.5.2 in Joomla 4.2
All my original images are 200 px width and I don't understand why some of them are bigger than others in Joomla 4 as shown here :
https://imgur.com/a/entq2Rp
Before in the Joomla 3.10 version, I had no problem for the same images files as shon below:
https://imgur.com/a/4r68XA4
I uploadded and installed the Theme 4.5.2 for joomla 4 in order to avoidesuperposition of title text on images
Any idea of what is wrong ?
Thank you for help
Best regards
Michel

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Phofa Gallery Plugin Joomla 4 images size

Post by christine »

Hi Michel,

it looks like component, not the plugin (?)
Could be useful, to see it live.

Here the difference between the 2 themes:
https://www.phoca.cz/news/1214-phoca-ga ... 4-released

Try to re-generate the thumbs (Options)

Kind regards
Christine
ml44230
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Jan 2022, 09:54

Re: Phofa Gallery Plugin Joomla 4 images size

Post by ml44230 »

Thank you so much for your help Christine.
In fact the prolem is made by the size of the oruginal images, some of them do not have the same length
In the Joomla 3 version, the Button plugin was used to generate the {phocagallery... instruction and there was a parameter to specify the image size, such as small or medium in order to resize all the images.
In the Joomla 4 version the Button plugin has disappered and there is no wat to specify the image size.
So I think the solution to my prublem should be to resize all the images before addig them to Phoca Gallery.
Thanks again
Best regards
Michel
ml44230
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 26 Jan 2022, 09:54

Re: Phofa Gallery Plugin Joomla 4 images size

Post by ml44230 »

My problem is solved !!!
This was not due to the size of original images ( I resided all of them to the same size but no change in the resul).
I discovered that some thumnail images in the thumbs subdirectory were larger than others which have been created with the Joomla 3 version.
So, I deleted all the files in the thubs subdirectory and asked Phoca Gallery component to rebuild all thubnails of my images.
And bingo !!!
Hope this qill help
Muchel
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Phofa Gallery Plugin Joomla 4 images size

Post by christine »

Hi Michel,
ml44230 wrote: 01 Dec 2022, 11:32 So, I deleted all the files in the thubs subdirectory and asked Phoca Gallery component to rebuild all thubnails of my images.
Thats' why I wrote: :-)
Try to re-generate the thumbs (Options)
Thanks for your feedback.
Kind regards
Christine
Post Reply