I am adding the following gallery to MaxiGallery:
http://tools.uvumi.com/gallery.html
I have updated the maxigallery.class.inc.php file with the following two pieces of code:
//uvumi scripts
$uvumi_css_link = '<link rel="stylesheet" href="' . $modx->config['base_url'] . MAXIGALLERY_PATH . 'uvumi/css/uvumi-gallery.css" type="text/css" media="screen" />';
$uvumi_script_link1 = $modx->config['base_url'] . MAXIGALLERY_PATH . 'uvumi/js/mootools-for-gallery.js';
$uvumi_script_link2 = $modx->config['base_url'] . MAXIGALLERY_PATH . 'uvumi/js/UvumiGallery-compressed.js';
and
//register uvumi scripts if in use
if(($this->mgconfig['display'] == "embedded" && $this->mgconfig['embedtype'] == "uvumi") || ($this->mgconfig['uvumi_pictureview'])) {
$modx->regClientCSS($uvumi_css_link);
// do not include mootools if javascript libraries are set to be disabled
if(!$this->mgconfig['disable_js_libs']) {
$modx->regClientStartupScript($uvumi_script_link1);
}
$modx->regClientStartupScript($uvumi_script_link2);
}
when I preview the page, the images show up and the links have been placed in the html, but I noticed that the links are incomplete:
<div class="thumbscontainer">
<ul class="thumbs">
<li>
<img src="/ncpr/assets/galleries/20/tn_nicoles_baby.jpg" class="thumbnail" title=" » Click to zoom ->" alt=" » Click to zoom ->" />
</a>
</li>
<li>
<img src="/ncpr/assets/galleries/20/tn_picture_1.png" class="thumbnail" title=" » Click to zoom ->" alt=" » Click to zoom ->" />
</a>
</li>
</ul>
</div>
In the process of updating the MaxiGallery code, is there a step that I am missing or something else that needs to be updated? Your help is appreciated.