Displaying description next to images

Phoca Gallery - image gallery extension
Machiel
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 05 Mar 2010, 21:48

Displaying description next to images

Post by Machiel »

Hi,

I'm trying to display the description of an image next to the image itself so not underneath the image as it's standard in phocagallery. Is there a way to do this without changing the theme, just by only changing the settings in the menu options. Or if there is no such setting in the menu options, is there a way to create an extra option in the menu with some modification in the component itself, so I could add a few rules to the theme or component itself and make that option available with a setting in the menu options?

So in short I want this:

Category 1:

[Image] - Description


Category 2:

[Image]
Description

Thanks in advance
Machiel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Displaying description next to images

Post by Jan »

Hi, no there is no such option, this needs to be customized in the template of Phoca Gallery categories view. :-(

Jan
If you find Phoca extensions useful, please support the project
Machiel
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 05 Mar 2010, 21:48

Re: Displaying description next to images

Post by Machiel »

Hi, thanks for the answer.

Can you tell me which file or files I need to change to get it working?

Thanks in advance
Machiel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Displaying description next to images

Post by Jan »

components/com_phocagallery/views/categories/tmpl/default.php ...
If you find Phoca extensions useful, please support the project
Machiel
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 05 Mar 2010, 21:48

Re: Displaying description next to images

Post by Machiel »

Hi,

Thanks for pointing me in the right direction.
I'm trying to change the file but nothing is changing on my site.
Can you point me in the right direction to get this working?
I will send you a pm with the test website, perhaps it makes things more clear.

Thanks in advance.
maddunr
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Nov 2009, 19:13

Re: Displaying description next to images

Post by maddunr »

I second this idea. Can you please consider this as a feature for the next version? :)

To be precise:

1. Option to show image description next to/above/below image (Yes|No) - position can be controlled by CSS. Sorry.. spoke too soon - https://www.phoca.cz/templatedemo/phoca- ... escription
2. Use the description as the title for the link and/or alt text for the image - no option. This is just good for accessibility and SEO.

Thanks for the wonderful component.

- V
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Displaying description next to images

Post by Jan »

Hi, added to the feature request list.

Jan
If you find Phoca extensions useful, please support the project
Post Reply