Plugin Box Size (width)

Phoca Gallery plugins - plugins for Phoca Gallery extension
Mnelson01
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Sep 2011, 23:06

Plugin Box Size (width)

Post by Mnelson01 »

I have been trying to change the display of the Phoca Gallery Plugin when displaying only images from a single category. Instead of a series of entries with width 120px and the description beneath the thumbnail, I would like to be able to alter the width of the box so that each entry is on a single line (within the bounds of the gallery width, so floats are ok) with the description to the right of the thumbnail image. I have been unsuccessful in finding where to make these changes to any CSS or .php entries. Changing com_phocagallery/views/category/templ/default.php

Code: Select all

$imageWidth 			= PhocaGalleryImage::correctSize($this->tmpl['imagewidth'], 100, 120, 20);
has made no difference.

Where can I make this change?
Mnelson01
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Sep 2011, 23:06

Re: Plugin Box Size (width)

Post by Mnelson01 »

To clarify, changing the thumbnails display, using shadowbox pup-up for image display.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin Box Size (width)

Post by Jan »

Hi, thumbnails size can be changed in components parameters.

If you want to change the correctSize function, you will find it in libraries folder in administration:

administrator\components\com_phocagallery\libraries\phocagallery\

Jan
If you find Phoca extensions useful, please support the project
Mnelson01
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Sep 2011, 23:06

Re: Plugin Box Size (width)

Post by Mnelson01 »

Hello and thank you for the reply.

It's not the size of the thumbnail image I want to change, but the shape of the surrounding box.

Current example: http://72.47.253.154/the-art

But what I want is to have each of those boxes be about 550px wide and put the description and buttons to the right of the thumbnail instead of below it.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin Box Size (width)

Post by Jan »

Hmm, then you need to customize the whole layout I think

the default.php to set html
the css of phocagallery
and enable displaying description below thumnails in category view

:idea:

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