Posted by mhenstell on December 14, 2008 at 10:07pm
Jump to:
| Project: | Textimage |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Every time I try to use textimage I get
Fatal error: Call to undefined function image_gd_open() in /sa/modules/textimage/textimage.module on line 426
Any ideas? Thanks
Comments
#1
This maybe a stupid question, but do you have the PHP GD2 module installed?
#2
Looking at phpinfo.. yes, it appears to be installed. Under modules, I see gd version 2 compatible and enabled.
#3
Thanks mhenstell,
Didn't mean to doubt you, but I didn't have the time to look closely at the issue at the time, and had that been the case it would have been a quick resolution.
From my initial glance at the code it appears that it is a section related to Background Images, something that admittedly I have never used myself. Will run a few tests and see if I can reproduce and fix the issue.
#4
Issue reproduced and resolved. Fix will be committed ASAP, but in the meantime you can make the following change.
Change line 427 from:
$background_resource = image_gd_open($back_image, $info['extension']);to:
$background_resource = image_toolkit_invoke('open', array($back_image, $info['extension']));#5
Committed.
#6
I'll give that a try. Thanks!
#7
Automatically closed -- issue fixed for two weeks with no activity.