Closed (fixed)
Project:
Imagefield Crop
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2008 at 20:18 UTC
Updated:
8 Mar 2008 at 12:28 UTC
I know this module doesn't work with ImageMagick at this time, but is there any way to force the script to use GD, even if ImageMagick is selected as the toolkit? The problem is I really need to use IM for some other modules, but I would also like to use this module too (which seems to work great when I temporarily switch to GD). Thanks.
Comments
Comment #1
yhager commentedI have not tested this, but I think it should work.
Open the module file with a text editor, and look for the function named '_imagefield_crop_verify_gd()'. In that function, remove all the code, except the last 'return TRUE;' statement, so it reads:
I think this should work as long as you have gd compiled in your PHP, regardless of which toolkit you chose on the image toolkit selection page.
Please post here if it worked or not.
I hope to remove this requirement for Drupal 6.
Comment #2
tj2653 commentedThanks yhager! That seems to work for me, using Drupal 5.6.
Comment #3
yhager commentedGlad to hear :)