Yes, now your phpThumb installation seems to work after you reinstalled it. The error for missing images is ok, because the phpThumb demo images are not part of it’s install. Previously it errored about missing hash, like I said above.
Quote from: doze at Nov 02, 2009, 10:52 AMHi Doze,
Well.. If you take a look at your phpThumb demo page, it says ’missing hash’.. that makes me think that you have not extracted the vanilla phpThumb files to your assets/snippets/phpthumb/ folder or you have modified some of the settings. There is either problem in your phpThumb installation or with your server.
Isn’t this regarding the demo images as the file paths point to images of a pineapple etc. I on’t have the demo images installed so this is why they arn’t showing here. Should somewhere on this demo page be showing my images?
<li> <a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox[image[+maxigallery.pageinfo.id+]set]" title="[+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+]"> <img src="[+phx:input=`[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]`:phpthumb=`&h=100&w=100&zc=1&q=95`+]" class="thumbnail" title="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" alt="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" /> </a> <p style="width: [+maxigallery.picture_width_thumb+]px;"> [+maxigallery.picture.title:htmlent+] </p> </li>
[!MaxiGallery? &galleryPictureTpl=`myGalleryPictureTpl` &display=`embedded` &embedtype=`slimbox` &max_pic_size=`500` &quality_pic=`100` &max_thumb_size=`80` &quality_thumb=`100` &pics_per_page=`16`!]
<?php $output = '[(base_url)/assets/snippets/phpthumb/phpThumb.php?src=' . $output . $options; return str_replace('&', '&', $output); ?>
<?php $output = '[(base_url)/assets/snippets/phpthumb/phpThumb.php?src=' . $output . $options; return str_replace('&', '&', $output); ?>
I’m also getting the "does (doze ) not exist" thing, but I’m sure that images exist, because if I remove the phx thing everything is working.
What should I do?
Cheers,
Roberto
Quote from: One_PHANTOM at Nov 03, 2009, 01:53 PM
<?php $output = '[(base_url)/assets/snippets/phpthumb/phpThumb.php?src=' . $output . $options; return str_replace('&', '&', $output); ?>
I think you are just missing a ] and a useless / it’s there
$output = ’[(base_url)]assets/snippets/phpthumb/phpThumb.php?src=’ . $output . $options;
http://<modxaddress>/assets/snippets/phpthumb/phpThumb.php?src=<modxbaseurl>/assets/galleries/<docid>/<imagefile>&h=50&w=50&zc=1&q=95
http://www.mydomain.com/modx/assets/snippets/phpthumb/phpThumb.php?src=/modx/assets/galleries/25/waterfall.jpg&h=50&w=50&zc=1&q=95