We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18373 ☆ A M B ☆
    • 3,141 Posts
    Please report that on Github smiley

    GOod that you ask, "evd" has been working on EvoGallery in the past few days and has made a lot of improvements already. Just check the commit log laugh
      Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

      Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
      • 9995
      • 1,613 Posts
      found it on git and added them, some improvements where already there.

      https://github.com/Mark-H/EvoGallery/issues
        Evolution user, I like the back-end speed and simplicity smiley
        • 10226
        • 412 Posts
        Just wanted to let everyone know that my demo site (although lacking) is back up (and on a managed host now).
        It is a new install of Evo current and the latest EvoGallery as of now. I will be keeping the evogallery version up to date.

        I am inviting anyone interested in creating useful examples of general use, templating, and showcasing bugs / known issues.

        Send me PM or email me @gmail.com if you would like to setup some pages on the site.

        Thanks!

          • 7752
          • 0 Posts
          Noob question...

          I’m using EvoGallery to display a simple slideshow of images on the home page.
          Is it possible to add hyperlinks to the images and if so how?

          Cheers
          Steve
            • 18373 ☆ A M B ☆
            • 3,141 Posts
            You can define chunks to use as templates per item, and surely you can adapt that to create a link smiley

            Have a look at the documentation: http://rtfm.modx.com/display/ADDON/EvoGallery#EvoGallery-Snippet
              Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

              Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
              • 7752
              • 0 Posts
              Thanks Mark,

              I’ve got pretty good at customising modx templates and chunks etc but I’d be the first to admit I’m no programmer.
              I’ve used TV’s to assign page id’s to images in the past but I’ve no idea how I’d go about assigning a link to an image in the EvoGallery admin :’(
              I read the EvoGallery documentation but it didn’t really help with my limited knowledge.
              Is there anywhere else I could look to point me in the right direction? I just don’t know where to start.

              Thanks again,
              Steve
                • 18373 ☆ A M B ☆
                • 3,141 Posts
                Here’s the section of the documentation I was aiming at:

                tpl Chunk template for the outer gallery template (defaults to tpl.default.txt for selected type). Placeholders: items
                itemTpl Chunk template for each thumbnail/image in the gallery. See below for available placeholders.

                So you can create your own chunks and link from there.

                Though now that I re-read your question, it seems you want to define a link, from an image in EvoGallery? You may be able to specify the link in the title or description field, and use that in your the chunk you specified with &itemTpl in your snippet call.
                  Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

                  Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
                  • 9995
                  • 1,613 Posts
                  Example:

                  [!EvoGallery? &docId=`[*id*]` &display=`images` &type=`simple-list` &tpl=`gallery-ul` &itemTpl=`gallery-li`!]


                  chunk gallery-ul:
                  <div id="albumholder">
                    <ul>
                  [+items+]
                    </ul>
                  <div style="clear:both;"></div>
                  </div>



                  chunk gallery-li:
                  <li><a href="[+images_dir+][+filename+]" rel="example_group" title=""><img src="[+filename:phpthumb=`h=70&w=100&zc=C&q=85#[+images_dir+]`+]" alt="[+title+]" /></a></li>

                    Evolution user, I like the back-end speed and simplicity smiley
                    • 7752
                    • 0 Posts
                    Hi guys, thanks for this and sorry it’s taken me so long to come back to you.

                    I might need to clarify what I’m trying to do...

                    I’m using the EvoGallery slideshow on a home page. I would really like to assign different hyperlinks to each of the images in the slideshow. So, let’s say slide 1 is displaying a widget I would like that image to be linked to the widget page (or even ANother other page or url). Slide 2 would link to another page and so on.

                    Thanks
                    Steve
                      • 9995
                      • 1,613 Posts
                      u can use TV’s

                      <a href="[~[+some-id-here-of-some-page-or-other-url+]~]">[+my-link-or-img+]</a>

                      is this what u mean?
                        Evolution user, I like the back-end speed and simplicity smiley