Problems with Images
I'm relatively new to Drupal, but am working with someone who is much more experienced with it. I'm having difficulty with images, and we can't figure out what's going on. Here's the history:
(1) Installed Drupal v6.1 and created database on MySQL 5.0.45 (for what it's worth, my host is running PHP v5.2.5)
(2) Installed the Image module image-6.x-1.x-dev (relative path to site root is "sites/all/modules/image")
(3) Ran update.php and cron
(4) Enabled image module and everything under it
Issues
(a) Can't attach images to blog postings. I can attach them as images but not to blog postings.
(b) When I look under Administer->Site Configuration->Image Toolkit I see that only the GD toolkit is present. The Image module shows that imagemagick is enabled, but it's not showing up here. I've looked inside the "sites/all/modules/image" folder and the "image.imagemagick.inc" file is present.
It doesn't make sense. Appears something is not registered correctly. Anyone have a suggestion?
Thank you in advance.

=-=
quoted from INSTALL.txt of image.module
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Hey... one step closer...
Thanks! I forgot to mention that I'd done that part. I just re-ran update.php and yes indeed I now have the imagemagick module as expected.
But for some reason, I *still* can't attach images to a blog posting. It's mighty odd. I can do create a image and it works perfectly. But I can't attach a new one to a blog posting.
Thanks for your very quick response on the first part of the issue. Very much appreciated.
www.johnhendow.com
=-=
goto administer -> content types
edit the blog content type
inspect or a checkbox to allow attaching of images.
undestand though, the image module is meant to create images as nodes.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Good idea... but...
This was one of the first places we looked, since I enabled it when doing the initial site config. And sure enough that checkbox for "enabled" is checked. When creating a blog, I can browse to an image file, select it, and attempt to submit the blog for publication. The image never makes it to the server. No error, no message. Just never shows up. I checked the logs, and no error is there either.
Ideas?
www.johnhendow.com
Looks like this might be an image_attach problem
Based on what I can discover, this issue might be related to image_attach. I've enabled every "enable" checkbox I can find... strangely, images are not being attached. I can still create an image separately, but cannot attach to blog entry.
www.johnhendow.com
=-=
quite possibl you've found a bug considering the image.module is still -dev. reopen the issue you created and adust th dropdowns accordingly.
Ive not moved my drupal 5.x sites to Drupal 6.x yet, an won't be for sometime, to work directly with the image.module for Drupal 6.x
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
http://drupal.org/node/220723
Looks like I'm in good company. I see there is a patch, but I don't understand how to apply it. What are the correct steps?
www.johnhendow.com
=-=
Documentation about patches
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Difficulties
I'm a windows user, so I installed the GnuWin32 patch utility. I can't get it to successfully apply the patch file "drupal6_node_attach.patch" to the "modules/image/contrib/image_attach/image_attach.module" file.
I've tried moving copies of the two files into a common directory to simplify the path management, but the syntax is eluding me. I read the contents on the page you sent me, along with the balance of the materials on patching. From a conceptual standpoint, I'm fully on board with applying patches and how diff works. Firing up the patch.exe file is a matter of mouseclicks. But from a syntactical perspective, it's obtuse. No success, no feedback.
Searching the drupal archive yielded this link http://drupal.org/node/32627 which restates the same issue in different terms, but doesn't address the inherent disconnect. Since I'm not a *nix user, the usage and syntax are foreign to me.
I guess I'd hoped using Drupal would be easier than getting a baptism in both PHP and Unix. But hey, who doesn't like a nice bath ? :)
Thanks for your help. I'll see if I can't figure this out after a cup of coffee. Otherwise I'll continue my whining.
Cheers!
www.johnhendow.com
=-=
i much prefer cygwin and have never had a problem with it. there is a nice videocast for setting it up too, by addision berry a lullaot consultant, which was a huge plus.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Got It!
At last! I successfully applied the patch. Naturally, the windows environment just can't make anything easy. All it took was a fresh batch of Starbucks Kenya in a press pot (yum!) and my dull brain got a little shinier.
The correct way to phrase one's command to is "patch [source file] [patch file] --binary"
The little tiny lizard brain inside windows doesn't automatically "know" that the files are being presented in binary format, so it kept throwing ASSERTION FAILED messages during the patch operation. Once I figured out the issue, it was really quite straight forward.
Thanks again for all your help. I appreciate it, and if I had better upload speed I'd pour you a nice cup of coffee through my cable modem.
www.johnhendow.com