We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8684
    • 29 Posts
    Hi, i am getting mad with this, i can’t understand,
    I just call the snippet
    [[MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_per_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &thumb_use_dropshadow=`1`]]


    just a copy paste from the wiki

    and it displays my tn anywhere in my page
    when i llok at the source:
    <pre>
    
    
    	<center><form action="/modx/index.php?id=1675" method="post" name="activateadminform">
    	<input type="hidden" name="mode" value="admin" />
    
    	<input type="submit" value="Manage pictures" />
    </form></center>
    	<br />
    	
    
    
    
    
    
    
    
    
    
    	
    		<div class="thumbscontainer">
    			<ul class="thumbs">
    				
    
    
     
    <li>
    
    
    
    
     
    
    	<a href="/modx/galleries/1675/1dsc06339s.jpg" rel="lightbox[maxigallery]" title="Le balto - La nuit tombe">
    
    
    
    
    
    
    
    
    	
    	 	<img src="/modx/galleries/1675/tn_1dsc06339s.jpg" class="thumbnail" title="Le balto  » Click to zoom ->" alt="Le balto  » Click to zoom ->" />
    	
    	</a>
    	
    		<p style="width: 97px;">
    		Le balto
    		</p>
    
    	
    </li>
    
    
    
     
    <li>
    
    
    
    
     
    
    	<a href="/modx/galleries/1675/1dsc06338s.jpg" rel="lightbox[maxigallery]" title="Le balto - Un slow">
    
    
    
    
    
    
    
    	
    	 	<img src="/modx/galleries/1675/tn_1dsc06338s.jpg" class="thumbnail" title="Le balto  » Click to zoom ->" alt="Le balto  » Click to zoom ->" />
    	
    	</a>
    	
    		<p style="width: 130px;">
    		Le balto
    		</p>
    	
    </li>
    
    
     
    <li>
    
    
    
    
     
    
    	<a href="/modx/galleries/1675/dsc06328s.jpg" rel="lightbox[maxigallery]" title="Le Balto - Concert devant le restaurant">
    
    
    
    
    
    
    
    
    	
    	 	<img src="/modx/galleries/1675/tn_dsc06328s.jpg" class="thumbnail" title="Le Balto  » Click to zoom ->" alt="Le Balto  » Click to zoom ->" />
    	
    	</a>
    	
    		<p style="width: 130px;">
    		Le Balto
    		</p>
    	
    </li>
    </ul>
    <ul class="thumbs">
    			</ul>
    		</div>
    
    	
    
    </pre>
    
    
    <pre>
    </pre>
    <pre>
    
    </pre>
    </div>


    there’s big blank space everywhere,
    I can’t get it to display correctly


    and also, when i copy paste the call for childgallery
    it doesn’t display my galleries but instead displays the current gallery from where i call the snippet

    Did I miss something??

      • 7923
      • 4,213 Posts
      The whitespace in HTML code has nothing to do with how it will look in the browser. The whitespace comes from the default template as all PHx lines are stripped out, but I have them on separate lines to make it more readable.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 8684
        • 29 Posts
        I know, it’s strange because when i get those spaces off, the page display is different, and if I don’t take it out and do a selct all on the page i see lots of empty fields and moreover when i put borders on li tags to see how it is displayed , it’s very strange,*
        here is a screen capture,
        what is in gray is the selection


        i don’t see what i did, wrong, i will still look for it
          • 8684
          • 29 Posts
          !!, I just figured out why it took the spaces into account, in my html

          it was because of the <pre></pre> tags where the ul list was