Create a dynamic image gallery using ajax, jquery and php (XML also)

This is a tutorial to create a dynamic image gallery using jQuery ajax and php mainly. To reduce burden, I added a normal script to read directory. In gallery.php file it will read the directory and will generate a xml file which will be thrown directly to the index file (actually ajax in index file will request to execute this file and read the generated the XML formatted data). A lightbox plugin is also used in this script. Let’s have a look: HTML: Portfolio CSS: {code type=css} *{margin:0; padding:0;outline:none} .clr{clear:both;} a{text-decoration:none;} @font-face{src:url(‘../fonts/Agency_FB.ttf’);font-family:agency;} body{font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#000000} ul{list-style-type:none;} h1, h2, […]

Continue Reading

You may also like