We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20349 ☆ A M B ☆
    • 453 Posts
    Hi!

    I’m using MG (0.5.2) with phpthumb.
    I’m doing a new site now and I noticed some strange gap between pictures. Something like phpthumb is not zooming correctly and leaves 3px white gap on rendered image.


    Provided sample pic’s below so you can see the problem wink


    ...and my snippet call:
    [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &max_thumb_size=`200` &pics_per_row=`5` &max_pic_size=`0` &keep_bigimg=`1` &order_by=`filename` &order_direction=`ASC` &lang=`hr`!]


    Question is how can I fix it?
      BASE - Web Design Studio
      MODX Ambassador

      Website
      • 20349 ☆ A M B ☆
      • 453 Posts
      Ok, I Got it solved...

      it was the
      <p style="width: [+maxigallery.picture_width_thumb+]px;">[+maxigallery.picture.title:htmlent+]</p>

      code in the template that was messing thing up
        BASE - Web Design Studio
        MODX Ambassador

        Website
        • 7923
        • 4,213 Posts
        Yeah.. didn’t see the phpThumb call in your posts also.. undecided


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 20349 ☆ A M B ☆
          • 453 Posts
          Quote from: doze at Dec 22, 2009, 05:26 AM

          Yeah.. didn’t see the phpThumb call in your posts also.. undecided

          Pulling out a chunk with phpthumb
          <li>
          	<a href="[+maxigallery.childurl+]">
                   <img src="[*myimage:phpthumb=`h=100&w=130&zc=1#[+maxigallery.path_to_gal+][+maxigallery.picture.filename+]#1`*]" class="thumbnail" title="[+maxigallery.strings.go_to_gallery+]" alt="[+maxigallery.strings.go_to_gallery+]" /> </a>
             <p class="opis1">[+maxigallery.pageinfo.pagetitle:htmlent+]</p>
             <p class="opis2">[*klubovi*]</p>
          </li>
          


          ...and a snippet call (I realized just now that I c/p wrong snippet call)
          [!MaxiGallery? &childgalleries_ids=`all` &display=`childgalleries` &childgalleries_order_by=`pub_date` &childgalleries_order_direction=`DESC` &order_by=`pos` &childgalleryTpl=`thumbs_gal` &lang=`hr`!] 
            BASE - Web Design Studio
            MODX Ambassador

            Website