Have you thought about own facebook-style photo gallry system with comments? I have and today I prepared it for you. In this post i explained the easy way to create your Facebook style photo gallery with comments application. I used to create the ajax, php, and mysql as database to store the gallery details.

fb-gallery

demo download.

Create database table gallery

Insert some example data

Create comments table

Create index.php

Gallery_ajx.php page

Create classes/Comments.php page

Javascript Code

Custom Css code for style