Thumbnails

Phoca Gallery - image gallery extension
MatieTR
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Jul 2016, 13:57

Thumbnails

Post by MatieTR »

Hello!

I'm trying to sort the images in my album so that they show up next to each other instead of all of them being in a single column. The only solution I found so far is using the Masonry effect, however that allows the thumbnails to have different heights, while I want them all to have the same height. The closest I got to the solution was by only allowing small additional thumbnails, however in this case, those that would appear in bigger form cannot be displayed. I can only display all images if I allow middle sized thumbnails too, but that looks too chaotic.

I took some screenshots so that you can see what exactly I'm talking about. Here's what I want to achieve, same image sizes, but thumbnails that would otherwise show in bigger size cannot be displayed: http://i.imgur.com/YkUEABJ.png
And here's what it looks like if I enable medium size thumbnails, not good: http://i.imgur.com/5tftA6L.png

Is there any way to display images with small thumbnails next to each other with the same height?

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

Re: Thumbnails

Post by Jan »

Hi, I think, the best way is to do per CSS, to somehow skip the boxes of the images: padding, margin => 0 (or minus margin: -5px -10px), border =>0 , border-shadow: none, etc.)

See example:
This site (Phoca Photo)
https://www.phoca.cz/joomla3de
mo/phoca-photo/category/6-cities

is displayed this way

Image

.caption {display: none}
.thumbnail {margin: 0 -15px; padding: 0;}

etc.

Jan
If you find Phoca extensions useful, please support the project
MatieTR
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 30 Jul 2016, 13:57

Re: Thumbnails

Post by MatieTR »

Ah, that worked perfectly, thank you so much!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Thumbnails

Post by Jan »

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