THE DISCUSSION BOARD OF VITINH.DE
  Free Perl Album - F.A.Q
  Image Magick installed BUT

Post New Topic  Post A Reply
edit profile | register | preferences | faq | members list |

Email this page to your friend! next newest topic | next oldest topic
Author Topic:   Image Magick installed BUT
gene
Junior Member

Posts: 9
From: USA
Registered: Sep 2005

posted 12-03-2009 17:20     Click Here to See the Profile for gene   Click Here to Email gene     Edit/Delete Message   Reply w/Quote
Installing FPA 1.5 said IM not installed.
My server FAQ said: the below.

I contacted server support and he said:
Thank you for contacting Technical Support.
Try using this directory for IM
/usr/bin/convert
BUT the faq talks about
"It will need to be ran from the command line as none of the API's are installed."
========
Just what does this mean and is there a way to use IM with FPA ver 1.5 --- thanks

== This is what server FAQ said ===
ImageMagick allows you to dynamically create and edit images on the server. It will need to be ran from the command line as none of the API's are installed. ImageMagick is already available for utilization on the servers. It is located at:

* /usr/bin/convert
* /usr/bin/mogrify


Additional links:

* ImageMagick homepage - http://www.imagemagick.com/


Example:
The following are examples to demonstrate that ImageMagick is installed and functioning. If you have a file named image.jpg in your public_html, the following command ran from the command line will resize the image and name the new image to resize_image.jpg:

* VPS and Dedicated servers with SSH access:

convert image.jpg -resize 64x64 resize_image.jpg

* Shared servers with no SSH access: You can setup a cron job with the following command:

/usr/bin/convert public_html/image.jpg -resize 64x64 public_html/resize_image.jpg

* Shared servers with no SSH accesss: You can run the following command from a php script:

exec('/usr/bin/convert /home/USERNAME/public_html/image.jpg -resize 64x64 /home/USERNAME/public_html/resize_image.jpg');

Please note that in this example you will need to replace USERNAME with your actual username.
You will also need to make sure that the folder you are writing resize_image.jpg to has write permiss

[This message has been edited by gene (edited 12-03-2009).]

IP: Logged

Tri Dung
Administrator

Posts: 1408
From: Oldenburg - Germany
Registered: Jan 2002

posted 02-05-2009 17:40     Click Here to See the Profile for Tri Dung     Edit/Delete Message   Reply w/Quote
FPA needs ImageMagick as Perl Modul (Image::Magick). If this Modul is not installed, you'll see the message from the installer.

IP: Logged

All times are GMT + 1

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic

Post New Topic  Post A Reply

E-Mail | Home

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board Freeware Version 2000C