Javascript/CSS Polaroid Gallery - no dependencies
Javascript/CSS Polaroid Gallery - no dependencies
http://projects.glicer.com/polaroid-gallery
img directory contains images to display.
Add the JavaScript to the end of your document :
<script type="text/javascript" src="js/polaroid-gallery.js"></script>
<script>
window.onload = function () {
new polaroidGallery("data/data.json"); //data/data.json contains images properties to display
}
</script>
Configure properties of images to display in data/data.json file :
Example:
[
{
"name": "img/img01.jpg",
"caption": "En voiture",
"description": "Il a pour lui l'éternité, montre en main.<br> — Jules Renard"
},
{
"name": "img/img02.jpg",
"caption": "Amis",
"description": "Le temps confirme l'amitié.<br> — Henri Lacordaire"
}
]
MIT
Authors : Rym BOUCHAGOUR & Emmanuel ROECKER
Web Development Blog - http://dev.glicer.com