Now I'm using Photoswipe. There was also a problem with the resize and position of the thumbnails of photos when I used Jak Lightbox, even if the behavior was a bit different.
The Phoca Gallery is run on Joomla 3.9.21 and PHP 7.4.9.
When using Photoswipe the differences between the thumbnails of the categories and photos start in the div class="pg-box1":
- Thumbnails of photos - size is scaled down to 150 x 74.6667
Thumbnails of categories - size is 150 x 100
- Thumbnails of photos - size is scaled down to 150 x 46.6667
Thumbnails of categories - size is 150 x 100
- Thumbnails of photos - size is scaled down to 150 x 46.6667
Thumbnails of categories - size is 150 x 100
- Thumbnails of photos - size is scaled down to 70 x 46.6667
Thumbnails of categories - size is 150 x 100
max-height: 100px;
max-width: 150px;
with:
Code: Select all
.pg-box1, .pg-box2, .pg-box3 {
width: 150px !important;
height: 100px !important;
}
The Phoca Gallery looks fine, except this unwanted behavior. Any ideas how to solve it?