Hello Petko,<br>
<br>
Thanks for the help.<br>
<br>
This seems to be working:<br>
<br>
$ThumbList['ImageMagickExe'] = '/usr/bin/convert';<br>
include_once("$FarmD/cookbook/thumblist2.php");<br>
<br>
Does it matter if the $ThumbList[... statement is before or after the include_once() line?<br>
<br>
Thanks,<br>
Matt<br>
<br>
<br><br><br><div class="gmail_quote">On Dec 5, 2007 3:51 PM, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wednesday 05 December 2007, Matt Strauser wrote:<br>> Hello Petko,<br>> I got it to work by commenting out the<br>> $ThumbList['ImageMagickExe'] =<br>> line.<br>><br>> My ImageMagick executable is in /usr/bin
<br>> How would I configure the recipe to use this?<br><br></div>If you have shell access, you can find the path by this command:<br><br> type convert<br><br>and you should get a reply:<br> convert is /usr/bin/convert
<br><br>Than you place in config.php:<br><br> $ThumbList['ImageMagickExe'] = '/usr/bin/convert';<br><br><br>ImageMagick is rarely installed on most shared hostings, or sometimes it is<br>not working with PHP Safe mode. That is why I wrote that it is for advanced
<br>administrators only, and I assumed it is clear enough for them. :-)<br><br><br>I'll add a better note to the manual page about this path though.<br><div class="Ih2E3d"><br><br>> Thanks for a cool thumblist recipe.
<br><br></div>Thanks for using it and providing feedback. You have a nice website, I wish I<br>could some day listen to one of your concerts. :-)<br><br>Thanks,<br><font color="#888888">Petko<br></font><div><div></div><div class="Wj3C7c">
<br><br><br>><br>> On Dec 4, 2007 3:46 PM, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:<br>> > On Tuesday 04 December 2007, Matt Strauser wrote:<br>> > > I am trying to use the Thumblist(2) recipe.
<br>> > > It almost works for me - I get a link but no image.<br>> ><br>> > ...<br>> ><br>> > > <a href="http://www.solfa.org/index.php?n=Fall2007.Test" target="_blank">http://www.solfa.org/index.php?n=Fall2007.Test
</a><br>> ><br>> > Hi.<br>> ><br>> > You have not configured correctly ImageMagick.<br>> ><br>> > (1) If you do have it installed on your server, set the variable<br>> > $ThumbList['ImageMagickExe'] to the path to the executable (it seems to
<br>> > be not '/etc/php-safe/convert').<br>> ><br>> > (2) If you don't have it installed on your server, you should not set the<br>> > $ThumbList['ImageMagickExe'] variable. Remove this line from your
<br>> > config.php.<br>> ><br>> > (3) If you don't understand or don't know, you should not set the<br>> > $ThumbList['ImageMagickExe'] variable. Remove this line from your<br>> >
config.php.<br><br></div></div></blockquote></div><br>