Page 1 of 1

GD-ImageMagick conflict...I think...maybe

Posted: 2016-06-23T23:13:55-07:00
by Popster
I am trying to do some legwork for the guys building my site.

We're using Sell Media in building a micro stock site. The images are stored on S3, thumbnails with watermark are being created with ImageMagick and copies are kept on S3 and the local server. The first, and lesser, of the problems we're having is GD is creating its own thumbnails (without watermark) which can sometimes replace the ones created by IM (watermarked).

The more troublesome problem we're having is apparently due to the same conflict. We're trying to find a profile plugin that works with our setup, which is to say we're not able to attach any profile pictures. Specifically, we get a 403 Forbidden error (.../wp-content/plugins/userpro/lib/fileupload/fileupload.php 403 (Forbidden) ) whenever we try to upload a pic. The example I've shown happens to be with UserPro installed, but it happens with any profile plugin we've tried. (The makers of Ultimate Member state their plugin requires GD.)

We need to figure out a way to get the profile pictures to stick. If anyone has any ideas, please let me know and I'll pass them along.

Thanks

Re: GD-ImageMagick conflict...I think...maybe

Posted: 2016-06-23T23:52:05-07:00
by fmw42
No disrespect, but your problems seem to be all GD. Perhaps you should be asking on GD forum. I do not know GD. I do not know how there would be a conflict caused by having Imagemagick as well on the server, unless they have similar utility names and are installed in the same location. IF UserPro says it needs GD (and not IM), then that also is a GD issue.

The obvious thing would be to de-install IM and have only GD and UserPro on the system. Then see if UserPro fails.

Also check your directory permissions.

Sorry I have no experience with either GD or UserPro.

Re: GD-ImageMagick conflict...I think...maybe

Posted: 2016-06-24T00:01:41-07:00
by Popster
No disrespect taken, and thanks for the reply. The reason I posted here was on the chance someone had to work through similar issues before. ImageMagick has to stay on the server. If we have to disable GD, is it possible to script IM to do the same function?

Re: GD-ImageMagick conflict...I think...maybe

Posted: 2016-06-24T00:04:43-07:00
by fmw42
Sorry, I do not know what a user profile is? Seems to be something very specific to UserPro and WordPress.

My suggestion was just a test to see if IM is really causing your problem. If it works without IM, then there must be some interaction. If it fails without IM, then IM is not the issue. You can always put IM back on the system.

By the way, what version of IM and what platform are you using?

Re: GD-ImageMagick conflict...I think...maybe

Posted: 2016-06-24T00:33:50-07:00
by Bonzo
Imagemagick is and external program
Imagick is built into php
GD is built into php

I can not see why they should interact as they all have different commands. If there was a problem I assume there would be more reported about it on the internet.

First thing I would do is contact Ultimate Member and see what they have to say.

Normally with a plugin it would be set for instance to use Imagemagick and if it can not find it use GD instead as that should always be there on a standard php install. This could be your problem but I think that would be a server issue and not software.

Re: GD-ImageMagick conflict...I think...maybe

Posted: 2016-06-24T01:44:38-07:00
by Popster
LAMP
WP 4.5.3

PHP 5.6.22
PHP API 20131106
PHP Extension 20131226
Zend Extension 220131226
Zend Extension Build API220131226,NTS
PHP Extension Build API20131226,NTS

GD Support enabled
GD Version bundled (2.1.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.11
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.49
WBMP Support enabled
XPM Support enabled
libXpm Version 30411
XBM Support enabled
Directive Local Value Master Value
gd.jpeg_ignore_warning 0 0

imagick module enabled
imagick module version 3.4.3RC1
imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
Imagick compiled with ImageMagick version ImageMagick 6.7.2-7 2016-05-09 Q16 http://www.imagemagick.org
Imagick using ImageMagick library version ImageMagick 6.7.2-7 2016-05-09 Q16 http://www.imagemagick.org
ImageMagick copyright Copyright (C) 1999-2011 ImageMagick Studio LLC
ImageMagick release date 2016-05-09