Added photo gallery, working on polling for editor.php