We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 54732
    • 20 Posts
    I am getting odd output in addition to my resource content when imageSlim is applied. Anyone have an idea how to fix this?
    
    code]n="1.0" standalone="yes"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
    <?xml encod
    </main>


    When templating like this:

    [[imageSlim? &input=`
    [[!mgGetImages?
    &imageTpl=`MoreGallery.Gallery.imgTpl`
    &wrapperTpl=`MoreGallery.Gallery.wrapperTpl`
    &wrapperIfEmpty=`0`
    ]]
    `]]


    With MoreGallery.Gallery.imgTpl being:
      <a href="[[+file_url]]" class="col-lg-3 col-md-4 col-xs-6">
        <img src="[[+file_url:pThumb=`w=200`]]" class="img-fluid img-thumbnail" />
      </a>
                </div>
              </div>

    [ed. note: ceramicmonster last edited this post 5 years, 5 months ago.]