Closed wellcda closed 6 years ago
Only thing that it is pushing all of the image together in the preview creating a squish. Not sure if it's possible to allow cropping of some in the center. Other wise it looks really good!
Oh, that's because I've set all the lightgallery images to have and width of 260px and height of 220px.
For now the easiest way to prevent the squishing is creating the thumbnails using another software since the images may have a different resolution. After that we can reference the thumbnails in the img
tag while the a
tag has the original one linked in its href
property.
<a href="../img/img-original.png">
<img src="../img/img-thumbnail-260x220.png" />
</a>
Alright got it. I'm going to make the merge then. (whoo-hoo!)
Issue #29
Implements lightgallery according to the layout below.
Example
Everytime a lightgallery is created it must receive an unique id and be activated in the scripts tag at the end of the body tag.