Donation
Make a donation to help WiPhA development

Search




Preferences

Connect again
---

Your name (or pseudo) :

Your secret code (associated with your pseudo)


 Count of members 45 members


Connected :

(nobody)
Visits

 330822 visitors

 12 visitors online

Private
forum.gifForum - Web iPhoto Access - Topic #148

Forum - Forum
Web iPhoto Access - Web iPhoto Access
- Topic # 148


active Topic # 148  How to comfirm use of imagemagick

09/10/2006 @ 16:34
by CjB

Anonymous

visitor

Hi, I have this installed on my linux box, but it doesn't seem to be using imagemagick, is there a way to confirm that it is using this?
Write to CjB   Post an answer  Top
Answer n 2
--------
10/10/2006 @ 00:09
by Globs

Globs

Administrator

If the system is not "Darwin", wipha tries to use ImageMagick. So, this is the case for a Linux system. Now, does it succeed in using it is another question, that you can only anwser by looking at the result. If you want to debug, you can add some print in wipha/libs/utils.php, in the sendImage function, exit before the code which sends the picture, and display the direct url of the picture. Not that easy, in fact.
if ($­args) ­{­
$­cached = "data/cache/".md5("$­path $­args").".jpg";
if ( (! file_exists($­cached))||(filemtime($­path)>filemtime($­cached))) ­{­
$­cmd = $­fnctCmd($­path, $­args, $­cached);
print "$­cmd";
@exec($­cmd);
chmod($­cached, 0664);
controlCacheSize($­transfoParams['cachesize']);
}
$­path = $­cached;
}
exit;

Write to Globs   Web site Globs Post an answer  Top
Answer n 2
--------
10/10/2006 @ 01:01
by CjB

Anonymous

visitor
Thanks, It doesn't seem to ever get to inside that if statement.

Is there a way I can debug this as to why it's not getting in there? I tried printing out $­args and that seems to be NULL to start with?

Thanks.
Write to CjB   Post an answer  Top
Answer n 3
--------
11/10/2006 @ 22:34
by Globs

Globs

Administrator

Then, look at the $­args value and/or delete the cache jpeg files.
Note than Image magick is not called to display thumbnails and full size pictures. But it is indeed for slideshow ones.
Write to Globs   Web site Globs Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 


^ Top ^