Display Description Below Photo J4

Phoca Gallery - image gallery extension
christine
Phoca Hero
Phoca Hero
Posts: 2725
Joined: 28 Nov 2010, 17:20

Display Description Below Photo J4

Post 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".
christine
Phoca Hero
Phoca Hero
Posts: 2725
Joined: 28 Nov 2010, 17:20

Re: Display Description Below Photo J4

Post 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
peterporta
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 28 Aug 2021, 09:38

Re: Display Description Below Photo J4

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2725
Joined: 28 Nov 2010, 17:20

Re: Display Description Below Photo J4

Post 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
peterporta
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 28 Aug 2021, 09:38

Re: Display Description Below Photo J4

Post 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").
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Display Description Below Photo J4

Post 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
If you find Phoca extensions useful, please support the project
Post Reply