Page 2 of 2
Re: images cut in half
Posted: 14 Jan 2024, 10:26
by Archivarius
Hello!
After migrating to Joomla 4 the problem with cut images resurfaced.
Phoca 4.5.5
Here is a test website with cut image in full view:
http://host1853202.hostland.pro/bahai-f ... ly-tablets Descriptions are not shown either, but category title is shown instead.
And here is a fine working page with Joomla 3 (Phoca 4.4.3):
https://bahaiarc.org/bahai-faith/founde ... ly-tablets
Any ideas how to fix it?
Re: images cut in half
Posted: 14 Jan 2024, 13:28
by christine
Hi,
Phoca Component:
Options > Detail View > Detail Window (Choose) e.g. > Photoswipe
Options > Detail View > Detail Window > Photoswipe > Display Caption > Title and description or:
> Only Description
If using Plugin:
https://www.phoca.cz/download/66-phoca- ... ery-plugin > 4.5.4
BTW: Check, if you are using shape 5 for Joomla 4
Kind regards
Christine
Re: images cut in half
Posted: 24 Jan 2024, 13:25
by Archivarius
Hi,
Yes, all the settings are as following:
Options > Detail View > Detail Window > Photoswipe
Options > Detail View > Detail Window > Photoswipe > Display Caption > Only Description
But in the detail view only title is shown and the image is cut in half. I don’t know what to do.
Re: images cut in half
Posted: 25 Jan 2024, 00:31
by Jan
Hi, maybe it is in conflict with your template. When you switch to standard template (for test only), do you get the same problem?
Jan
Re: images cut in half
Posted: 25 Jan 2024, 16:28
by Archivarius
Good point! When I switch to Cassiopeia template images are not cut but distorted to fit horizontal layout. And the descriptions are not shown but only title is visible. That is strange behavior because settings set to ‘Display Caption > Only Description’.
Re: images cut in half
Posted: 15 Feb 2024, 17:59
by Archivarius
Hi,
I wrote to developers of the template and they suggested to change some settings in the template and they added the custom CSS rule to the file css/thirdparty.css
/* Phoca */
.pswp__img {
object-fit: contain;
}
Now images look correct.
I don’t know how to turn descriptions on.
In Phoca component settings are set as following:
Options > Detail View > Detail Window > Photoswipe > Display Caption > Only Description
When I switch to Cassiopeia template descriptions are not shown but only title is visible.
By the way, I’ve noticed that in the Cassiopeia template Phoca slide show doesn’t work as in Shape5 template:
http://host1853202.hostland.pro/?view=a ... atid=100:2
Under Joomla 3 all is working fine:
https://bahaiarc.org/?view=article&id=1 ... atid=100:2
Re: images cut in half
Posted: 16 Feb 2024, 01:00
by Jan
Hi, what do you exactly mean with: "Cassiopeia template Phoca slide show doesn’t work as in Shape5 template"?
Jan
Re: images cut in half
Posted: 16 Feb 2024, 10:51
by Archivarius
HI,
I guess I mixed up pages and gave different addresses. What I meant is that you may see a Phoca Gallery Slideshow in Joomla 3 at:
https://bahaiarc.org/?view=article&id=1 ... atid=100:2
Same page in Joomla 4 doesn’t show any images in both templates (Shape5 and Cassiopeia):
http://host1853202.hostland.pro/?view=a ... atid=100:2
And there is still a problem with absent image description at:
http://host1853202.hostland.pro/bahai-f ... id=1&pid=1 I don’t know what to do.
Re: images cut in half
Posted: 17 Feb 2024, 01:42
by Jan
Hi, now I understand, for now, there is no Phoca Gallery slideshow plugin for Joomla 4 or Joomla 5.
Jan