Php/Html5 gallery for pictures and videos