Imagegallery with jQuery, php and a mySQL-backend