Columns

Phoca Gallery - image gallery extension
Miomoto
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 09 Jun 2016, 16:53

Columns

Post by Miomoto »

Hello,

I use Phoca Gallery (the latest version) i have a problem with columns.

I like to show 5 columns with thumbnails in a Categorie but i can not found where i can set this value.

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

Re: Columns

Post by Jan »

Hi, there is no such option, see similar posts in this forum. Images are stored in float boxes, this means, they fill up the whole site, depends on if large screen, mobile, tablet, etc. So there is no option to set columns. You can e.g. set fixed width of phoca gallery and count how many columns there will be:

(example values)


width of the site (1000px) = count of columns (5px) x (width of image box (180px) + padding and margin (20px)
1000px = 5px x 200px

So you will know that if you have 1000px width, you should set the thumbnails size to 180px.

But of course, in these days of responsive design, this is not more used and you should let the columns count set by screen width - dynamically - responsive - created.

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