We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17340
    • 70 Posts
    my question is entirely in the subject...

    I like to make a Gallery of booktitles and provide the possibility from the big picture to go direct to that book’s page elsewhere while the thumbs re-appear.

    thanks for pointing me in the right direction

    lmv
      • 7923
      • 4,213 Posts
      If you do not have the title field or picture description field free to put the link in, you need to first create a custom field for the link info. For that you need the SVN version of MaxiGallery: http://modxcms.com/forums/index.php/topic,24600.0.html

      Then there are couple of ways you can do it, it depends on how you are displaying your big image, is it in a slimbox or in a new browser window or what. You need to modify what ever template you are using to show the link info from the custom field.

      If you are opening the big picture on a new window, you need to first create a site template for the big picture page, then create a document that is used to show the big pictures. In that document, have a maxigallery call where you have a custom pictureTpl what shows the big picture, eg. filename placeholder prefixed with "big_" and the link information from the custom field. Then in the gallery document, create a custom pictureTpl and change the link that points to the big picture to point to the document that you are using to show the big pictures, eg. <a href="[~idofthedocument~]?pic=[+maxigallery.picture.id+]"...


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 17340
        • 70 Posts
        Thanks Doze, I have been out a couple of days so just find yr answer.
        I will study yr suggestions
        thanks again
        lmv