We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36509
    • 127 Posts
    Modx Rev 2.02
    Gallery 1.5.2

    I need some help.

    http://leeverfamilyreunion.com/?galAlbum=16

    I installed Gallery.

    Tried the example code:

    [[!Gallery? &toPlaceholder=`gallery`]]
    [[!GalleryItem]]
    [[!GalleryAlbums? &toPlaceholder=`galleries`]]
     
    <div style="float: right">
    <h2>Galleries</h2>
    <ul>
    [[+galleries]]
    </ul>
    </div>
     
    <h2>Item</h2>
     
    [[!+galitem.image:notempty=`
    <div class="image">
      <a href="[[+galitem.image]]"><img class="[[+galitem.imgCls]]" src="[[+galitem.image]]" alt="[[+galitem.name]]" /></a>
      
    Albums: [[+galitem.albums]]
      
    Tags: [[+galitem.tags]]
    </div>
    `]]
     
     
    <hr />
     
    [[!+gallery:notempty=`
    <h1><a href="[[~[[*id]]]]">[[+gallery.name]]</a></h1>
    <h2>[[+gallery.description]]</h2>
     
    [[+gallery]]
    `]]
    


    and the formatting is wrong. I tried galleriffic as well, same deal. It's almost like I am missing a script or something. Any ideas?

    Thanks
      www.JBMWebDesign.com
      www.JBMAutomation.com
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That's all in the CSS, styling the images to float or otherwise be positioned however you want. Javascript might be involved as well. If that is the case, make sure your page loads the .css and .js files necessary for the kind of display you want.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org