pancakes

MicrostockGroup Sponsors


Author Topic: Image processing  (Read 4726 times)

0 Members and 1 Guest are viewing this topic.

« on: July 25, 2013, 07:43 »
0
I was using imagemagick extension for image processing before 2.5.5 udpdate and I realize
now that I'm back to GD library.

I'm on bluehost, I verified my php.ini file and the line extension=imagick.so is always here  ???


can anybody tell me how to go back to ImageMagick ?


« Reply #1 on: July 25, 2013, 12:18 »
0
Nobody ?

ShazamImages

  • ShazamImages.com
« Reply #2 on: July 25, 2013, 12:47 »
0
The only idea that I have is to make sure that there are no leading or trailing spaces or tabs (in front or behind the line) in you php.ini file.

I would also try to rename the php.ini file and then create it from scratch to see if that does anything.

« Reply #3 on: July 25, 2013, 13:43 »
0
Or maybe delete the imagemagick line from php.ini, load it. Then add the imagemagick line back in and re-uplad php.ini.

« Reply #4 on: July 25, 2013, 14:38 »
0
Thanks, but nothing seems to work  :(

I don't know how to solve this issue...

« Reply #5 on: July 25, 2013, 15:03 »
0
Woohooo, I finally found the solution  ;D

I checked single php.ini mode (PHP 5.2 (Single php.ini)) from the php config icon in the cpanel on bluehost

I was previously on PHP 5.2 (Default)

And imagemagick appeared !!!

Thanks a lot for your help.

ShazamImages

  • ShazamImages.com
« Reply #6 on: July 25, 2013, 15:13 »
0
Glad you were able to get it resolved.  :)

« Reply #7 on: August 16, 2013, 15:56 »
0
I have the same problem. I'm using PHP 5.3
I edited php.ini file and at the end (just before the local variables, I added the following two lines:

;ImageMagick - added on Aug 16, 2013
extension=imagick.so

Saved php.ini, exited from WP, reloaded WP, and in the Image Process, I still see the GD library.
Is there anything else to do?

ShazamImages

  • ShazamImages.com
« Reply #8 on: August 16, 2013, 16:00 »
0
Is there anything else to do?

Who is your host?

You need to have the php ImageMagick module loaded on your host.

« Reply #9 on: August 16, 2013, 16:11 »
0
Is there anything else to do?

Who is your host?

You need to have the php ImageMagick module loaded on your host.

I'm using ipower.com
They told me that ImageMagick is supported on  their system.
 

« Reply #10 on: August 16, 2013, 17:13 »
0
After weeks I still can't get it to work :'(
WebHostingHub says it's installed and working and I need to talk to the Theme Developer.
I would think it has to be a php.ini thing, but have tried many variations to no avail.

Above was stated changing the setting to php single in the cPanel. When I go to the PHP Configuration tab, I only have 4 popup options. PHP 5.2, 5.3 5.4, 5.5. I have it running 5.3. There is no single option anywhere.
« Last Edit: August 16, 2013, 17:18 by DonLand »

ShazamImages

  • ShazamImages.com
« Reply #11 on: August 16, 2013, 17:35 »
0
Symbiostock requires that php has the ImageMagick module loaded.  I am guessing that your php installation does not have this module loaded.

The following instructions will help determine if you have that module loaded:

Create a new php file called symbio.php (or whatever else you like) with the following lines:

<?php
   phpinfo();
?>

Save the file and copy it to the webroot directory on your webserver.

Then execute it from a browser as follows:

http://<your website>/symbio.php (or whatever you called it).

This will give you all of the info about your php installation.  If you search the output for ImageMagick, you will find if it is installed and all of the info about the installation.

The phpinfo() output has a section at the top called "Configure Command".  On my installation, it shows the following:

'./configure' '--with-libdir=lib' '--enable-fastcgi' '--prefix=/usr/local/php5_3' '--with-config-file-path=/web/conf' '--disable-posix' '--enable-bcmath' '--enable-calendar' '--with-curl=/usr/bin/curl' '--with-gdbm' '--enable-exif' '--enable-ftp' '--with-gd' '--with-freetype-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/bin/libpng-config' '--enable-gd-native-ttf' '--with-gettext' '--with-mcrypt=/usr/bin/libmcrypt-config' '--with-mhash' '--with-pdo-mysql=/usr' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl' '--with-pspell' '--enable-soap' '--enable-wddx' '--with-xsl' '--with-zlib' '--enable-mbstring' '--enable-zip' '--with-xmlrpc' '--sysconfdir=/web/httpd24/conf' '--enable-apc' '--with-imagick'

You will notice that imagick is installed (which is the name of the ImageMagick module).

In addition, the phpinfo() output also contains an entire section called "imagick" that gives detailed information about the ImageMagick php module.

« Reply #12 on: August 16, 2013, 18:28 »
0
Quote
Save the file and copy it to the webroot directory on your webserver.


Shazam,
thank you for the step-by-step instructions. 

In my case, my SYS site and wordpress are installed in a subfolder - www.advantica.com/stockphotos, so I created it in that subfolder.

The information screen displayed properly, and I can see that ImageMagick is NOT there.

   
« Last Edit: August 16, 2013, 19:33 by LesPalenik »

« Reply #13 on: August 16, 2013, 18:39 »
0
I found a plugin that does the same thing as ShazamImages is talking about without having to upload anything to your server.  It's called SysInfo.  Once installed you can find it in the wordpress admin "Tools" area. Once you're on it click the "PHP Info" button at the top and it will show you all of your PHP info and whether or not the imagemagick module is installed or not.

« Reply #14 on: August 16, 2013, 21:47 »
0
Shazam... Thanks for the info!!! Finally getting somewhere. That code is very cool and unfortunately it shows ImageMagick is NOT listed. So now I have to figure out how to get it installed etc.

« Reply #15 on: August 16, 2013, 21:54 »
0
Get in contact with your tech support where your site is hosted.  They should be able to tell you whether you can have it installed or not.

« Reply #16 on: August 16, 2013, 22:33 »
+1
Thanks to Shazam getting somewhere. With the script in hand I could show them it was not installed. Imagemagick is installed but the module was not. They are working on getting the module installed. To be continued.

« Reply #17 on: August 17, 2013, 01:42 »
+1
Quote
Get in contact with your tech support where your site is hosted. They should be able to tell you whether you can have it installed or not.

Yeah, they should be able. But not in my case, they didn't have a clue, they just assumed it was there.
After my second request, they even replied that they just enabled it, but when I went to Image Processing, GD Library was still active.
But at least, thanks to Shazam's display tool, now we know where the problem lies, and they escalated my ticket, so hopefully, it will get resolved soon.


« Reply #18 on: August 17, 2013, 02:06 »
0
Hope it gets resolved for you soon and they get it installed so you can use it.  My host won't let me have it I have to be on one of their pricier plans :/

« Reply #19 on: August 17, 2013, 07:53 »
+1
SHAZAM!!!! THANKS!!!! That "tool" was the key. As with LesPalenik they kept saying it was installed. As soon as I had the "tool" to show them it wasn't installed the online chat escalated it. Woke up this morning to an e-mail saying he installed it. Sure enough it shows in Symbiostock as being used!!!!

marthamarks

« Reply #20 on: August 17, 2013, 08:18 »
0
I found a plugin that does the same thing as ShazamImages is talking about without having to upload anything to your server.  It's called SysInfo.  Once installed you can find it in the wordpress admin "Tools" area. Once you're on it click the "PHP Info" button at the top and it will show you all of your PHP info and whether or not the imagemagick module is installed or not.

Cracker Clips, I just took your advice and installed SysInfo. I've got the PHP Info for my site open but don't know where to look to find out if imagemagick is installed or not. I'm guessing it must be all the way at the bottom, in the the PHP Variables section. But I don't see it there.

Can you tell me which section and/or line that info would be found in?

Thanks!!

« Reply #21 on: August 17, 2013, 10:44 »
0
SHAZAM!!!! THANKS!!!! That "tool" was the key. As with LesPalenik they kept saying it was installed. As soon as I had the "tool" to show them it wasn't installed the online chat escalated it. Woke up this morning to an e-mail saying he installed it. Sure enough it shows in Symbiostock as being used!!!!

That is great news. Sounds like this tool is the answer.

« Reply #22 on: August 17, 2013, 11:02 »
0

Cracker Clips, I just took your advice and installed SysInfo. I've got the PHP Info for my site open but don't know where to look to find out if imagemagick is installed or not. I'm guessing it must be all the way at the bottom, in the the PHP Variables section. But I don't see it there.

Can you tell me which section and/or line that info would be found in?

Thanks!!

I've attached a couple of screenshots that show what my PHP info looks like.  You'll see a reference to imagick at the end of the "Configure Command" area in the first shot. ( I blurred the system box as I wasn't sure whether it contained any info I may not want others to have).

The second shows an entire area of info showing the details of the Imagemagick PHP module. If you don't have a section like it then that means that the imagemagick module is not installed. So in my case, imagemagick WAS installed on my server BUT the imagemagick module was not.  Shazam showing me this info is when it all started to come together for me.  Hope it helps you as well!


« Reply #23 on: August 17, 2013, 11:13 »
0
Just got from my server support the following message:

Imagick function does not work on our server. We have ImageMagick binaries. But it is not complied to PHP so IMAGICK wont work. So, you will not be able to use IMAGICK as PHP built-in class.

You have to use the alternative convert utility. Below is a sample code:
$location=/usr/local/bin/convert;
$command=-thumbnail 150&#8242;;
$name=Sunset.;
$extfrm=jpg;
$extto=png;
$output={$name}{$extto};
$convert=$location . .$command . . $name . $extfrm . . $name . $extto;
exec ($convert);
print <img src= . $output . >;

ImageMagick Binary Path

The path will vary depending on which ImageMagick binary you needs to use on the Unix platform. These are the two most common:

/usr/bin/resize
/usr/local/bin/convert

What does it all mean? Can I use Imagick by adding the code above to my php.ini (or to another file)?

marthamarks

« Reply #24 on: August 17, 2013, 11:38 »
0

Cracker Clips, I just took your advice and installed SysInfo. I've got the PHP Info for my site open but don't know where to look to find out if imagemagick is installed or not. I'm guessing it must be all the way at the bottom, in the the PHP Variables section. But I don't see it there.

Can you tell me which section and/or line that info would be found in?

Thanks!!

I've attached a couple of screenshots that show what my PHP info looks like.  You'll see a reference to imagick at the end of the "Configure Command" area in the first shot. ( I blurred the system box as I wasn't sure whether it contained any info I may not want others to have).

The second shows an entire area of info showing the details of the Imagemagick PHP module. If you don't have a section like it then that means that the imagemagick module is not installed. So in my case, imagemagick WAS installed on my server BUT the imagemagick module was not.  Shazam showing me this info is when it all started to come together for me.  Hope it helps you as well!

That may answer my question, since I pored over the PHP info I got and didn't find a trace of anything called "imagemagick".  I'm guessing it's not on my system, but not at least I can go back and check it.

I appreciate your help, CC!


 

Related Topics

  Subject / Started by Replies Last post
6 Replies
4090 Views
Last post June 24, 2007, 14:37
by hatman12
23 Replies
10457 Views
Last post January 24, 2016, 12:11
by Sean Locke Photography
26 Replies
16713 Views
Last post July 25, 2010, 15:05
by trek
81 Replies
15674 Views
Last post May 25, 2013, 16:39
by jshooz
7 Replies
3469 Views
Last post June 03, 2013, 01:49
by Beppe Grillo

Sponsors

Mega Bundle of 5,900+ Professional Lightroom Presets

Microstock Poll Results

Sponsors