[pmwiki-users] Thumbslist - no image
Matt Strauser
syntereo at gmail.com
Wed Dec 5 19:07:20 CST 2007
Hello Petko,
Thanks for the help.
This seems to be working:
$ThumbList['ImageMagickExe'] = '/usr/bin/convert';
include_once("$FarmD/cookbook/thumblist2.php");
Does it matter if the $ThumbList[... statement is before or after the
include_once() line?
Thanks,
Matt
On Dec 5, 2007 3:51 PM, Petko Yotov <5ko at 5ko.fr> wrote:
> On Wednesday 05 December 2007, Matt Strauser wrote:
> > Hello Petko,
> > I got it to work by commenting out the
> > $ThumbList['ImageMagickExe'] =
> > line.
> >
> > My ImageMagick executable is in /usr/bin
> > How would I configure the recipe to use this?
>
> If you have shell access, you can find the path by this command:
>
> type convert
>
> and you should get a reply:
> convert is /usr/bin/convert
>
> Than you place in config.php:
>
> $ThumbList['ImageMagickExe'] = '/usr/bin/convert';
>
>
> ImageMagick is rarely installed on most shared hostings, or sometimes it
> is
> not working with PHP Safe mode. That is why I wrote that it is for
> advanced
> administrators only, and I assumed it is clear enough for them. :-)
>
>
> I'll add a better note to the manual page about this path though.
>
>
> > Thanks for a cool thumblist recipe.
>
> Thanks for using it and providing feedback. You have a nice website, I
> wish I
> could some day listen to one of your concerts. :-)
>
> Thanks,
> Petko
>
>
>
> >
> > On Dec 4, 2007 3:46 PM, Petko Yotov <5ko at 5ko.fr> wrote:
> > > On Tuesday 04 December 2007, Matt Strauser wrote:
> > > > I am trying to use the Thumblist(2) recipe.
> > > > It almost works for me - I get a link but no image.
> > >
> > > ...
> > >
> > > > http://www.solfa.org/index.php?n=Fall2007.Test
> > >
> > > Hi.
> > >
> > > You have not configured correctly ImageMagick.
> > >
> > > (1) If you do have it installed on your server, set the variable
> > > $ThumbList['ImageMagickExe'] to the path to the executable (it seems
> to
> > > be not '/etc/php-safe/convert').
> > >
> > > (2) If you don't have it installed on your server, you should not set
> the
> > > $ThumbList['ImageMagickExe'] variable. Remove this line from your
> > > config.php.
> > >
> > > (3) If you don't understand or don't know, you should not set the
> > > $ThumbList['ImageMagickExe'] variable. Remove this line from your
> > > config.php.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20071205/697f233b/attachment.html
More information about the pmwiki-users
mailing list