We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9108
    • 6 Posts
    Hi,

    I have read the thread of Becca and see that mine is different, so I open this thread.

    I am making my first site with modx evolution and maxigallery.
    Thing are going well until I have this problem when using MG in content area.
    There are always blank strips on top and bottom of MG (2 gray strips on the attached picture).

    I tried many but cannot remove it.

    This is the template of page:
    {{og.header}}
    
    <body>
    
    <div id="page_wrapper">
        <div class="header">
       <img src="[(site_url)]/assets/templates/og/OGlogo.jpg" alt="OG logo" width="50" height="50" /> 
        </div>
       <h1><a href="[(site_url)]">Open <span> Group</span></a></h1>
      <div id="content_wrapper">	
        <div id="nav">
    		[!Wayfinder?startId=`0` &config=`fancypants`!]
        </div>
    
        <div id="content">
    		[*content*] 
        </div>
    
        <div clear:both> </div>
    
      </div>
      {{og.footer}}
    </div>
    </body></html>


    I also attach the css of the site.

    I have been stuck on here for weeks and any help are much appreciated!
    Thanks
    (sorry for my English)
      • 22427
      • 793 Posts
      You give a min-height of 400px to your div #content which obviously is more than the height of the picture...
        • 9108
        • 6 Posts
        Quote from: ottogal at May 07, 2011, 11:29 AM

        You give a min-height of 400px to your div #content which obviously is more than the height of the picture...

        I don’t think so. The pictures is more that 2000px height.
        I upgrade to v0.6 and the upper strip shortens to same height with the lower. But both still exist.
        The new attachment is with v0.6. And now upper and lower strips have same height.
          • 22427
          • 793 Posts
          The pictures is more that 2000px height.
          ???
          The picture shown on your screenshot of the browser window has a height of around 260 px (estimated in comparison to the size of the browser’s tabs).

          It’s difficult to help you without having a link to the site.
            • 33997
            • 150 Posts
            Maxigallery, I believe, shrinks the picture when you upload it. So even though your photo was 2000px when you uploaded it, it could be much smaller now. If you didn’t set &max_pic_size, you should for usability, as you don’t want people to download the full 2000px image when they are only using a 400px image.

            &max_pic_size

            Maximum size in pixels of the normal picture. (largest dimension). Zero for unlimited size.
            --From the maxigallery wiki: http://wiki.modxcms.com/index.php/MaxiGallery
              "Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein