Closed (duplicate)
Project:
ImageAPI
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2010 at 15:38 UTC
Updated:
1 May 2010 at 01:02 UTC
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
Comment #1
bkosborneI 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...
Comment #2
bkosborneI 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.
Comment #3
drewish commentedSee #540486: Error with PHP 5.3