We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27672
    • 168 Posts
    so i’m using gallery, but when it calls the image, it does so via connector.php, which gives:
    http://joel-boucher.com/assets/components/gallery/connector.php?action=web/phpthumb&w=1024&h=1024&zc=0&far=&src=%2Fassets%2Fcomponents%2Fgallery%2Ffiles%2F2011%2F01%2F8.jpg


    if you view that image you can see artifacts around the birds, the original version that’s uploaded doesn’t have that:
    http://joel-boucher.com/assets/components/gallery/files/2011/01/8.jpg


    i’m assuming it’s the php image quality setting, which is referenced here: http://rtfm.modx.com/display/ADDON/Gallery.Gallery, "imageQuality If being used by a plugin, the quality of the image, from 0-100. 90"

    but when i add that to my call it does nothing. my call is:
    [[!Gallery? &album=`nature` &thumbTpl=`JBGalleryThumbTpl` &imageWidth=`1024` &imageHeight=`1024` &thumbQuality=`90` &imageQuality=`100`]]


    but no image quality variable gets sent over to phpthumb, any ideas?
      • 27672
      • 168 Posts
      i’ve found that if i add "&q=100" to the url i get better quality:
      http://joel-boucher.com/assets/components/gallery/connector.php?action=web/phpthumb&w=1024&h=1024&zc=0&q=100&far=&src=%2Fassets%2Fcomponents%2Fgallery%2Ffiles%2F2011%2F01%2F8.jpg


      and it sounds like `phpThumbOf` will let me pass the ’q’ request variable over, but i changed my ’gallery’ chunk to this:
      <div class="[[+cls]]">
          <img class="[[+imgCls]]" src="[[+image:phpthumbof=`q=100`]]" alt="[[+name]]" />
      </div>
      

      though i’m not seeing it pass the ’q’ variable over.

      anyone see what i’m doing wrong?