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?
images cut in half
-
- Phoca Member
- Posts: 10
- Joined: 28 Sep 2018, 10:35
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: images cut in half
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
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
-
- Phoca Member
- Posts: 10
- Joined: 28 Sep 2018, 10:35
Re: images cut in half
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.
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.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: images cut in half
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 28 Sep 2018, 10:35
Re: images cut in half
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’.
-
- Phoca Member
- Posts: 10
- Joined: 28 Sep 2018, 10:35
Re: images cut in half
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: images cut in half
Hi, what do you exactly mean with: "Cassiopeia template Phoca slide show doesn’t work as in Shape5 template"?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 28 Sep 2018, 10:35
Re: images cut in half
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.
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.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: images cut in half
Hi, now I understand, for now, there is no Phoca Gallery slideshow plugin for Joomla 4 or Joomla 5.
Jan
Jan
If you find Phoca extensions useful, please support the project