Size of Category view in Mosaic mode

Phoca Gallery - image gallery extension
paulvanharen
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 26 Aug 2014, 15:38

Size of Category view in Mosaic mode

Post by paulvanharen »

I'm using PG 4.1.1. and want so show a series of categories with Mosaic effect, similar as the PG Joomla 3 demo site home page.

I'm wondering how I can control the size of the category boxes. How are the width and the height of the .pg-csv-box and the .pg-csv-box-img computed? What is the most appropriate way to control these?

Thanks and regards,

Paul van Haren
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Size of Category view in Mosaic mode

Post by Jan »

Hi, there are following sized (e.g. by small thumbnails)

- small thumbnails
- small thumbnail 2x higher (horizontal)
- small thumbnail 2x longer (vertical)

The images are set randomly to fit the box (if there are e.g. only two images, they will be positined other way then five images)

To control it, you need to customize the php code. :idea:

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