I'm building a test drupal ecomm site and I added a product image. It uploaded fine, but when I browse to the image, I get this warning:

warning: Parameter 1 to imageapi_gd_image_resize() expected to be a reference, value given in /Applications/MAMP/htdocs/drupal/sites/all/modules/imageapi/imageapi.module on line 165.

It doesn't matter if I have ImageAPI set to use ImageAPI GD2 or ImageAPI ImageMagick.

Any ideas? The original file upload is located in the default 'files' directory, but there were no images placed in the product folders.

Comments

bkosborne’s picture

I went to the ImageMagick configure page and it says it cannot find the "convert" binary. The default is /usr/bin/convert, but I'm running MAMP server and don't have that. I can't find where it would be...

bkosborne’s picture

I researched and apparently the code just needs to be modified to pass by reference. However, this is all a non-issue if working with PHP less than 5.3.

drewish’s picture

Status: Active » Closed (duplicate)