Page 1 of 1

Plugin Box Size (width)

Posted: 07 Sep 2011, 05:32
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?

Re: Plugin Box Size (width)

Posted: 09 Sep 2011, 19:06
by Mnelson01
To clarify, changing the thumbnails display, using shadowbox pup-up for image display.

Re: Plugin Box Size (width)

Posted: 12 Sep 2011, 19:00
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

Re: Plugin Box Size (width)

Posted: 13 Sep 2011, 17:20
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.

Re: Plugin Box Size (width)

Posted: 13 Sep 2011, 17:34
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