Page 1 of 1

Display Description Below Photo J4

Posted: 08 Sep 2021, 17:13
by christine
peterporta wrote: 08 Sep 2021, 12:32
Benno wrote: 03 Sep 2021, 16:47 Hi,
if you mean category view, yes it's possible:
Backend --> Components --> Phoca Gallery --> Control Panel --> Options --> Category View -->Category Settings --> Display Image Description in Box=Yes
Backend --> Components --> Phoca Gallery --> Control Panel --> Options -->General Settings -->Equal Heights=Yes


Kind regards,
Benno

Edit: To slow... ;-)
Hi Benno,

I made those changes in my installation (J4, Phoca 4.5.0 Alpha2). But i did´nt find the "Equal Heights". The description is only shown with the great photo in the "photo-show".

Re: Display Description Below Photo J4

Posted: 08 Sep 2021, 17:24
by christine
@peterporta:

Above explanation from Benno belongs to another thread, to Joomla 3.
So I split thread & removed from previous one.

For Joomla 4, the version is not yet ready for productive use. You can try the following:

Code: Select all

.pg-item-box-title, .pg-category-box-title {
position: relative !important;  
}
Without guarantee, as it has only been temporarily tested on a clean test version. Also, which template do you use? (J 4 compatible?)
If Cassiopeia: Enter the code in the user.css.

Kind regards
Christine

Re: Display Description Below Photo J4

Posted: 10 Sep 2021, 19:38
by peterporta
Hi Christine,

thanks for putting it in a new post.

I copied your lines into user.css. Here is the result. I mean, that the grey box changed. i mean, that before it was an black box - but it's not the thing. The description is only in the detail-picture.

https://imgur.com/a/OEwkou4

Re: Display Description Below Photo J4

Posted: 10 Sep 2021, 23:53
by christine
Hi,
peterporta wrote: 10 Sep 2021, 19:38
I copied your lines into user.css. Here is the result. I mean, that the grey box changed. i mean, that before it was an black box - but it's not the thing. The description is only in the detail-picture.
The description is: 2019?
Test-Example - Before Code:

Image

The color comes from: background: rgba(0,0,0,.5);

you did want the title below the picture (I think so)

With Code:
Image

Otherwise please describe what you mean exactly.

Kind regards
Christine

Re: Display Description Below Photo J4

Posted: 11 Sep 2021, 08:44
by peterporta
Hi Christine,
2019 is the name. The description is "Der wohl nördlichste Palmenstrand Europas ...", which is only shown in the detail-window.

The color (I think) changed automatically after writing in the user.css. I didn't change the rgb. But that's no problem. It can stay grey. I only want in the overview of the pictures the description (with or without the Titel "2019").

Re: Display Description Below Photo J4

Posted: 11 Sep 2021, 11:25
by Jan
Hi,

In Phoca Gallery - Joomla 4 version, more themes are planed. The default theme, which is now "Simple"

Image

is basically inappropriate for the use of captions/descriptions under photos as its main feature is display information over images.

So, this will be solved with another theme, where there will be place for description below photos.

I hope, I will release some new theme soon, so it can be tested.

Jan