How do I use the photoswipe script?
The order of includes should be reversed (as you did). There is also accompanying css file and the following initialization js code (see examples src http://github.com/downloads/dimsemenov/PhotoSwipe/code-photoswipe.v1.0.11.zip).

&lt;script type="text/javascript"&gt;

        // Set up PhotoSwipe with all anchor tags in the Gallery container 
        document.addEventListener('DOMContentLoaded', function(){

            Code.photoSwipe('a', '#Gallery');

        }, false);
&lt;/script&gt;