MicrostockGroup Sponsors


Author Topic: Installing ImageMagick  (Read 25352 times)

0 Members and 1 Guest are viewing this topic.

« on: July 26, 2013, 12:49 »
0
So how do I go about installing ImageMagick on my server. I've installed the wp ImageMagick engine plug in but the image processor is still using GD Library. I assume there may be something I need to install via my cPanel.


« Reply #1 on: July 26, 2013, 13:35 »
0
Here's the instructions on how to install ImageMagick on your server:



Credit: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AllFAQ/ApacheFAQ#How%20do%20I%20install%20_ImageMagic?

« Reply #2 on: July 26, 2013, 16:23 »
0
Thanks for the reply but I need some more basic info, like where do I get to the command line to even use the script. This is on a remote server that I have both cPanel and FTP access to.

Also how do I know if I need PHP bindings or Perl bindings etc. I am not a programmer or even IT guy, just a photographer. Thanks!

« Reply #3 on: July 28, 2013, 12:28 »
0
Ok, my hosting company says ImageMagick is installed, running and available to use at /usr/bin/convert and /usr/bin/mogrify

SymbioStock says it is using GD Library

The hosting company said to contact the Theme builder.

Sigh....

Leo or anyone have any ideas?

« Reply #4 on: July 28, 2013, 13:16 »
0
Slowly getting there. In SymbioStock the ImageMagick Engine plug in is enabled by command line engine at: /usr/bin/ and I get the green checkmark, but GD Library is still used on the process images page.

My server company states the following:

ImageMagick allows you to dynamically create and edit images on the server.  ImageMagick is usually run from the command line, but since command line access is not available on XXXXXX servers, the commands can be ran through cron jobs or PHP scripts instead. ImageMagick programs are located in:

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

In Symbiostock if I click on the ImageMagick dropdown menu and pick on Imagick PHP module I get a red x with it saying the Imagick php module not found.

Ideas?


« Reply #5 on: July 28, 2013, 13:26 »
0
Hi Don - Yep I'm in the same boat.  My host (godaddy) says Imagemagick is installed on the server but the symbiostock theme isn't connecting with it.  Who is your host?  It looks like the convert path you listed is the same or at least similar to what godaddy needs to make it work.  Leo is aware of this but it's helpful to hear that this is not just affecting me. 

The images I've processed through GD Library look dull and unsaturated.  In addition, GD Library seems to strip the metadata from the images when processed for a customer purchase.  The test purchases I've done so far show that my downloaded images have no metadata included effectively making them orphans.

I have basically paused in the development of my site at this point until this can be addressed.  I think Leo's working on this as part of the premium plugin he's developing.  I'm really anxious to begin uploading again, get the network turned on and continue building out our site.

Bryan

« Reply #6 on: July 28, 2013, 13:30 »
0
In Symbiostock if I click on the ImageMagick dropdown menu and pick on Imagick PHP module I get a red x with it saying the Imagick php module not found.


You have an ImageMagick dropdown menu in the symbiostock theme?  Where is that located?

« Reply #7 on: July 28, 2013, 13:34 »
0
Dang, did not want to hear that. I had GoDaddy but quickly got tired or all their upgrade crap. I'm using Web Hosting Hub and until this was very happy with them. As I type this they are looking into it. I asked them to see if the PHP modules are installed in the two listed places above. They say yes they are installed in /us/bin/convert

It is in the ImageMagick plug-in engine

« Reply #8 on: July 28, 2013, 13:40 »
0
I'm beginning to think that I need to edit the imagemagick script in the imagemagick edit plug in to locate the /usr/bin/convert

« Reply #9 on: July 28, 2013, 15:34 »
0
If you can't use the php dynamic module - You can't do anything. Leo would have to add the support for the commandline version though

« Reply #10 on: July 28, 2013, 15:38 »
0
WebHostingHub says they support the PHP version of it and not the command line version. The problem is Symbiostock can't seem to find the PHP version which WebHostingHub says is in use/bin/convert

Here is what they say in their help pages:

ImageMagick allows you to dynamically create and edit images on the server.  ImageMagick is usually run from the command line, but since command line access is not available on Web Hosting Hub servers, the commands can be ran through cron jobs or PHP scripts instead. ImageMagick programs are located in:

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

« Reply #11 on: July 28, 2013, 15:44 »
0
Some more info. In my WP SXtra plug in it says the following:

>>>>No Imagick extension loaded?  Try to add to php.ini: extension=imagick.so

Imagick class doesn't exists

 Trying to call command-line ImageMagick...<<<<


Where is this php.ini file and how do I add extension=imagick.so to it?

« Reply #12 on: July 28, 2013, 15:59 »
0
The php.ini file is in your root directory.  You just need to add that line anywhere in the code that is already there.  I know this works for some hosts but it didn't work in my case and may not work in yours if your host requires a certain path is followed to get to imagemagick.

« Reply #13 on: July 28, 2013, 16:04 »
0
Can I add it to my local php.ini directory instead?

Here is the page they talk about getting it to work. Greek to me....

http://www.webhostinghub.com/support/website/general-server-setup/imagemagick-installed-on-servers
« Last Edit: July 28, 2013, 16:11 by DonLand »

« Reply #14 on: July 28, 2013, 16:33 »
0
php.ini works for specific directory it's in and below, so it would be ok to put it in the Wordpress root folder (the same where you can find the wp-config.php file)

Although there is no guarantee that adding extension=imagick.so to the file would change anything.
They could just disallow to use it as a dynamic module

« Reply #15 on: July 28, 2013, 16:41 »
0
Thanks. Ok I've got a php.ini file installed and SYXtra Plugin sees it for scripts. I added the extension=imagick.so to it but no luck. Imagick class does not exist.
Not sure but if the issue is because this WP install is NOT on the Root, but a subfolder.

« Reply #16 on: July 28, 2013, 16:43 »
0
Well, this site you showed to us (http://www.webhostinghub.com/support/website/general-server-setup/imagemagick-installed-on-servers) has nothing about the dynamic php module, just the commandline version, I have the same situation as you on my host, we just need to wait for Leo

« Reply #17 on: July 28, 2013, 16:49 »
0
Yea, I love how they say look at this at it's just a simple overview of the situation. They keep pointing the finger at the developer even after I said it works on MANY servers, just not two (there's being one of them) that I know of so far. Probably something simple that I don't know about how to get SymbioStock to point to the /usr/bin/convert folder for the PHP Module. Since as a user I do not have permission to change that folder (or even see it) I really do not know if the PHP Module is really installed although they have specifically said it is so I have to take their word for it.

ShazamImages

  • ShazamImages.com
« Reply #18 on: July 28, 2013, 16:59 »
0
Hi Don - Yep I'm in the same boat.  My host (godaddy) says Imagemagick is installed on the server but the symbiostock theme isn't connecting with it.


I am with GoDaddy and have no issues.  When I go to Process Uploads (http://<your website)/wp-admin/edit.php?post_type=image&page=symbiostock-process-images) it says that I am "Using ImageMagick".

« Reply #19 on: July 28, 2013, 17:01 »
0
That's good to hear for you. CrackerClips needs to talk to you!

« Reply #20 on: July 28, 2013, 17:03 »
0
If you tried to do what syxtra said and you still have

>>>>No Imagick extension loaded?  Try to add to php.ini: extension=imagick.so

It means it doesn't work

Although you may confirm it using this simple plugin Sysinfo http://wordpress.org/plugins/sysinfo/

then click PHP Info button

and compare it to http://servicecore.info/wp-content/uploads/2013/03/servicecore-phpinfo.png

Imagick module should be listed, otherwise...

« Reply #21 on: July 28, 2013, 17:06 »
0
Hi Don - Yep I'm in the same boat.  My host (godaddy) says Imagemagick is installed on the server but the symbiostock theme isn't connecting with it.


I am with GoDaddy and have no issues.  When I go to Process Uploads (http://<your website)/wp-admin/edit.php?post_type=image&page=symbiostock-process-images) it says that I am "Using ImageMagick".


Whoa, that's news to me!  When I go to my process uploads page it says "Using GD Library".  No other options.  Did you do something special to be able to connect?  Are you on a shared server at godaddy or a dedicated one?  I have the convert path to ImageMagick at godaddy ( /usr/bin/convert ) but there doesn't seem to be anything I can do with it.

« Reply #22 on: July 28, 2013, 17:09 »
0
If you tried to do what syxtra said and you still have

>>>>No Imagick extension loaded?  Try to add to php.ini: extension=imagick.so

It means it doesn't work

Although you may confirm it using this simple plugin Sysinfo http://wordpress.org/plugins/sysinfo/

then click PHP Info button

and compare it to http://servicecore.info/wp-content/uploads/2013/03/servicecore-phpinfo.png

Imagick module should be listed, otherwise...


Thanks but I can't see the png file. Says I do not have permission.

ShazamImages

  • ShazamImages.com
« Reply #23 on: July 28, 2013, 17:19 »
0
When I go to my process uploads page it says "Using GD Library".  No other options.

As I stated before, my Process Uploads page says "Using ImageMagick" and I don't have any other options either.

Did you do something special to be able to connect?

No.

Are you on a shared server at godaddy or a dedicated one? 

Shared.

When I login using PuTTY to the web server, I can type "identify -version" at the prompt and it will return the following:

Version: ImageMagick 6.2.8 02/25/09 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC


I can then change directory (cd) to /usr/share and there is an ImageMagick directory there.


« Reply #24 on: July 28, 2013, 17:19 »
0
Maybe here at the top http://code.huypv.net/2012/05/install-imagick-extension-for-php-538.html

It just means you should find this ehtry in your php ini if it's really loaded


 

Related Topics

  Subject / Started by Replies Last post
17 Replies
4044 Views
Last post May 06, 2013, 05:49
by MicrostockExp
26 Replies
10294 Views
Last post June 04, 2013, 15:54
by steheap
4 Replies
7684 Views
Last post August 04, 2013, 04:25
by chrisroll
3 Replies
2152 Views
Last post August 16, 2013, 23:54
by timd35
2 Replies
2518 Views
Last post December 24, 2022, 10:10
by Year of the Dog

Sponsors

Mega Bundle of 5,900+ Professional Lightroom Presets

Microstock Poll Results

Sponsors