We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27210
    • 158 Posts
    Because some programs in Windows don’t like a file name starting with a period, i changed the name of the ".phpthumb_cache" gallery to "phpthumb_cache" (removed the period). i also changed this in my snippet myimage:phpthumb on the code below (i get the same failure if i leave the folder name with the period):
    $PHPTHUMB_CONFIG['cache_directory'] = dirname(__FILE__).'/../../images/phpthumb_cache/';                            // set the cache directory relative to the phpThumb() installation - assets/images/phpthumb_cache by default


    This is the call to myimage:phpthumb from mgGalleryPicture:
    <img src="[*myimage:phpthumb=`h=100&w=100&zc=1#[+maxigallery.path_to_gal+][+maxigallery.picture.filename+]#1`*]" class="thumbnail" title="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" alt="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" />


    The link to the file is here: http://www.signcarver.net/modx/ezdacc/index.php?id=57

    Thank you very much!
    Steve

    edit: correct spelling in title
      • 7923
      • 4,213 Posts
      Try a different type of phpThumb installation, see this and the post below that one.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 27210
        • 158 Posts
        Doze - thank you! That got me squared away. I appreciate your help.

        Steve