miromannino / Justified-Gallery

Javascript library to help creating high quality justified galleries of images. Used by thousands of websites as well as the photography community 500px.
http://miromannino.github.io/Justified-Gallery/
MIT License
1.68k stars 298 forks source link

How to add additional class name to element (extra class name with jg-entry) ? #344

Open MrShaikh1357 opened 3 years ago

jefftucker1952 commented 3 years ago

Just add your own class name(s) to the "a href" link - the script will prepend it to "jg-entry" automatically:

<a class="myclassname" href="path/to/myimage1_original.jpg">
    <img alt="Title 1" src="path/to/myimage1_thumbnail.jpg"/>
</a>