We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4008
    • 13 Posts
    Hello

    This is the called snipped code:

    [!MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &pics_per_row=`4` &pics_per_page=`4` &max_thumb_size=`200` &max_pic_size=`400` &thumb_use_dropshadow=`0`!]


    My problems:

    1. Thumbs have shadows
    2. I get only one image per row. I asked for 4 per row
    3. My image list is bulleted. How do I get rid of the bullets
    4. No lightbox, images get opened in a new window

    I must be doing something wrong...

    Rgds,
    Steve

      • 3749
      • 24,544 Posts
      I think I can help with a couple of those. smiley

      The dropshadow option has its effect on upload, so if you had it on when you uploaded the pics, you’ll have to re-upload them. The bullets are a function of the CSS (either yours or MaxiGallery’s). If you look at them in Firebug, you should be able to see where the styling is coming from. You’ll want list-style-type: none; in the CSS file.

      On the pics_per_row, make sure the div that holds the pics has room for all four (and clear the cache and your browser cache if you recently changed the value).
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 7923
        • 4,213 Posts
        1. The dropshadow is generated on upload like BobRay said, so you need to re-upload the images if you change that parameter.
        2. Probably a css collision with your site css and maxigallery css
        3. Same as above. I suggest that you comment out your site css and start bringing it back one block at a time to see where it breaks.
        4. Probably a javascript collision. Lightbox uses prototype + scriptaculous. If you have some other js library included, for example mootools, they don’t play nice together. The slimbox uses mootools and you can implement thickbox by your self with the instructions from maxigallery wiki page if you want a jquery implementation.


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 4008
          • 13 Posts
          Close but no banana

          The snippet is called in a blank html page.
          I don’t use any CSS or javascript

          I got it working by deleting the whole thing and start over from scratch and it’s finally working.
          Thanks for the tips guys!!
            • 7923
            • 4,213 Posts
            Quote from: branlock at Apr 27, 2009, 12:55 PM

            The snippet is called in a blank html page.
            If you mean the blank modx template selection, eg. no <html> and <head> tags, it wouldn’t work.. The javascript is included automatically to the html code and modx does it by searching <head> tags from the source, so if you use the "blank" modx template, it won’t have the tags and it’ll fail.


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."