We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32391
    • 37 Posts
    Hi there,

    Slimbox wouldn’t work on my site so someone suggested I shoud try thickbox as it uses jQuery and mootools compatibily might be the issue so I’m trying to get it to work but with little success!

    OK so my snippet call looks like this:
    [!MaxiGallery? &display=`embedded` &embedtype=`thickbox` &galleryPictureTpl=`thickBoxPicTpl` &pics_per_row=`3`!]


    thickBoxPicTpl chunk looks like this:
    <li>
    <a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" class="thickbox" rel="gallery">
    <img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" class="thumbnail" title="[+maxigallery.picture.title:htmlent+]
    [+maxigallery.strings.click_to_zoom+]" alt="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" />
    </a>
    [+maxigallery.picture.title:isnot=``:then=`
    <p style="width: [+maxigallery.picture_width_thumb+]px;">
    [+maxigallery.picture.title:htmlent+]
    </p>
    `+]
    </li>
    which I got off the maxigallery wiki.

    I’e included the files in my header thus:
    <script type="text/javascript" src="assets/js/jquery.js"></script>
    <script type="text/javascript" src="assets/js/thickbox.js"></script>

    but it doesn’t work, when I click on the thumb nail it shows the image on a new blank page.
    What else do I need to do?

    Any help would be much apprecialted as this is driving me mad!

    Thanks in advance
      • 7923
      • 4,213 Posts
      Do you have link to the site? have you checked that the js files are accessible?


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."