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

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Popster
Posts: 3
Joined: 2016-06-23T21:26:02-07:00
Authentication code: 1151

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

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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.
Popster
Posts: 3
Joined: 2016-06-23T21:26:02-07:00
Authentication code: 1151

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

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

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

Post 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.
Popster
Posts: 3
Joined: 2016-06-23T21:26:02-07:00
Authentication code: 1151

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

Post 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
Post Reply