I used js_include('js/jquery-1.11.0.min.js'); under require('include/init.inc.php'); on index.php,thumbnails.php and displayimage.php because I have a jquery plugin on all those pages that needs jquery-1.11.0.min.js
the script for the jquery plugin is ...
the script for the jquery plugin is ...