Dear Drupal Forum Members,

I have installed Drupal 4.7 beta 6, along with img_assist and image module (cvs). When I am in the admin panel, on various pages, I am getting the following message:

"Make sure you have a working image toolkit installed and enabled, for more information see: the settings page"

Unfortunately, it seems the settings page does little to specify anything. I have tried searching the boards to not much avail. A thank you to anybody who could turn me in the right direction. I am an osCommerce user converting to Drupal in hopes of finding a better, cleaner, CMS (I used osC as a CMS fyi. ^_^).

Comments

Kezz’s picture

The problem messages you are getting refer to image toolkits that img_assist and image modules require to be running on the server in order to do various things to image files (like resize them for example).

Most ISP's have something (usually gd2 in my experience, as it comes bundled with Apache) working, but this doesn't seem to be the case here. Basically you need to talk to your SysAdmin about the possibility of activating this - unless you're running your own server, in which case you need to activate it in your httpd.conf file.

Copenhagen Expozed

mr_dimsum’s picture

Thank you Kezz for pointing this out to me. I was unaware of such a thing, as my partner usually handles server side stuff, and I am merely in charged of aesthetics such as layout.

mr_dimsum’s picture

New Problem. When I create a Story, and use Image Assist to upload and use an image, the following error is showing up when I click 'Submit'. It seems to Preview perfectly though. Could anybody lend a kind hand to deciphering the problem and fixing it?

* user warning: Unknown column 'list' in 'field list' query: INSERT INTO files (fid, nid, filename, filepath, filemime, filesize, list) VALUES (4, 2, '_original', 'images/010.jpg', 'image/jpeg', '39504', 0) in /home/u4/rn_mode/html/includes/database.mysql.inc on line 120.
* user warning: Unknown column 'list' in 'field list' query: INSERT INTO files (fid, nid, filename, filepath, filemime, filesize, list) VALUES (5, 2, 'thumbnail', 'images/010.thumbnail.jpg', 'image/jpeg', '2782', 0) in /home/u4/rn_mode/html/includes/database.mysql.inc on line 120.
* user warning: Unknown column 'list' in 'field list' query: INSERT INTO files (fid, nid, filename, filepath, filemime, filesize, list) VALUES (6, 2, 'preview', 'images/010_0.jpg', 'image/jpeg', '39504', 0) in /home/u4/rn_mode/html/includes/database.mysql.inc on line 120.
* warning: Division by zero in /home/u4/rn_mode/html/modules/img_assist/img_assist.module on line 789.

thom01’s picture

The field "list" is in the file_revisions table now (beta 6).

mr_dimsum’s picture

So I should revise the "field list" to "file_revisions" in the following files giving me errors?

Martin Haanz’s picture

I solved this problem by enabling the gd2 extension in my php.ini file (not in httpd.conf).

To do this, just remove the semi-colon in front of

;extension=php_gd2.dll

to become

extension=php_gd2.dll

Save, and then restart Apache. If it doesn't work, then you probably don't have the php_gd2 file in your PHP extensions directory.

piotrdesign’s picture

How do you enable that in httpd.conf?

animago’s picture

I am a new user.

I opened my "php.ini" file (in C:\WINNT), but I didn't find the php_gd2.dll line. I have php_gd.dll instead.

So - as you wrote - I probably miss php_gd2 in my PHP extensions directory. Can I do something to make my image-assist work? Or I'm just stuck, and need to wait for some developer to fix the problem in a new version of the img_assist.module (hopefully)?

---------
UPDATE (some hours later)
---------

OK OK! I found it and installed it, and enabled, and modified etc. etc. Now everything's fine.

Thank you!

Joe D’s picture

I am running 4.7. Image Assist is working to the point of showing me the images I have uploaded. I'm trying to place a photo in a page. When I click insert, a string of code appears in the text of the page[img_assist|nid=13|title=Yellow Yard Sign|desc=|link=node|align=left|width=75|height=100]...but no photo.

I also get the error message "Make sure you have a working image toolkit installed and enabled, for more information see: the settings page" I was not able to find anything in settings that helped.

I'm a newbie and I apologize if this has been answered elsewhere, but I have spent quite a bit of time reading posts and documentation for the modules. I'm the admin of our site, so I have all modules enabled and permissions etc. I'm stumped.

Joe D

hectorplus’s picture

Thanks for the comments here, it really solved my issues for img_assist and image modules. I edited the php.ini, now my image toolkit is working!!

Tecito.com
Comunidad Latina en Canada, regístrate ya! Join the growing latin community in Canada.

ngohaiweb’s picture

I don't know what is your web server ? But my website hosting in Linux server and i've seen the error like you. So I've fixed it on php.ini

I add on php.ini this code: " extension = gd.so "

I hope you can solve this problem. Goodluck. :)

--ngohaiweb--

Irenaeous’s picture

I had the same issue. Also, part of the issue is that the general settings page did not display any "Image Handling" options. On my system neither gd2 nor ImageMagick were installed. I installed ImageMagick, but this did not fix the problem at all it seemed. After that I found this post: http://drupal.org/node/66311

This showed an include that needed to be added to the includes directory and how to modify it. After I did this, the "Image Handling" option showed up on the settings page, and I was able to select it.

I offer this because the other comments, while excellent for the issues they address, did not resolve my issues, so I thought this might be helpful to someone.