Have you thought about own facebook-style photo gallry system with comments? I think ā yes. Today I made up my mind to prepare it for you. Main idea ā when we click at images ā they popup (ajax) with bigger image at the left and comments section at the right. All images are in the database (mySQL). And, of course, we will use PHP to achieve our result. Also, our comment system will prevent accepting more than 1 comment per 10 mins (to avoid spam).
Ajax CSS PHP Popup Window