We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43179
    • 1 Posts
    I have a website where the Gallery component stopped working in the backend, so I made the updates (modx 2.2.6 & gallery 1.5.2). The component works great in the backend now, but now I have problems with the navigation in the gallery.

    For example if I have 8 images, the next & previous buttons goes fron #1 to #8 (works great), but the thumb navigation show links from #9 to #16, so no images load when you click on the menu....

    In the navigation all infos are correct except the link... I tried to use [[+image]], [[+image_absolute]]... and I found that I could put anything there as the component rewrites the link whatever I put in my chunk...
    see the problem in action : http://devmontclair.developpementsboisfranc.com/fr/modeles/villas-du-boree-distinction/plans.html

    Anyone has an idea?
    Thanks in advance.

    It used to work with this code....

    Here is the gallery call:
    [[Gallery?
    &album=`9`
    &autoStart=`1`
    &gallerifficThumbWidth=`86`
    &gallerifficThumbHeight=`86`
    &plugin=`galleriffic`
    &imageWidth=`600`
    &imageHeight=`480`
    &navigationWidth=`600px`
    &numThumbs=`8`
    &prevPageLinkText=`< Prev`
    &nextPageLinkText=`Next >`
    &enableTopPager=`0`
    &defaultTransitionDuration=`500`
    &delay=`4000`
    &gallerifficThumbTpl=`planThumbTpl`
    &gallerifficContainerTpl=`planContTpl`
    &thumbsContainerSel=`#thumbs`
    &imageContainerSel=`#slideshow`
    &controlsContainerSel=`#controls`
    &loadingContainerSel=`#loading`
    &renderSSControls=`0`
    &enableBottomPager=`0`
    &renderNavControls=`0`
    ]]

    And the gallerifficThumbTpl:
    <li><a class="thumb" href="[[+image]]" title="[[+name]]" pdfLink="[[++site_url]][[+url]]">-
    [[!If?
    &subject=`[[++cultureKey]]`
    &operator=`EQ`
    &operand=`fr`
    &then=`[[+name]]`
    &else=`[[+description]]`
    ]]</a></li>

    Stéphane Blanchard [ed. note: stephaneb last edited this post 13 years, 6 months ago.]