I can create image nodes with no problems. However when I try to upload a new image using the image attach settings it doesn't work. By this, I mean it saves the node when clicking save, but the image is not uploaded (I've checked on the server also, its not there). When I click on "edit" on the given page node its not in the list of attached images.

I've checked all permissions, all settings on the modules and my upload module settings. This is an install of RC2 with no additional modules other than the image module. I updated today to the latest dev version of image modules.

At the moment I can create an image node, and then attach it from the select list however this is obviously not a good solution!

Comments

drewish’s picture

yeah i can confirm that this is a bug...

adshill’s picture

Just to update: I upgraded to RC4 yesterday and the issue still exists.

mrgoltra’s picture

Good Day,

same case here also, shouldn't the default folder be images which is located in root/files ? Mine is being saved in sites/default/files folder

Thanks,

Mark

mrgoltra’s picture

Getting this error. When I attach an image on a page and page gets published.

Fatal error: Call to undefined function image_prepare() in /sites/all/modules/image/contrib/image_attach/image_attach.module on line 262

Using Drupal 6 release and current image module release

aveamurechi’s picture

Hello, I am experiencing a similar problem.

Whenever a new blog post is created, no image can be uploaded to the post. The only way to publish a new image is to upload it via the post new "Image" option.

Also using Drupal 6 release.

CosmicVoyager’s picture

subscribed

0000@drupalchina.org’s picture

There's a function named 'image_prepare()' in v5.x in image.module
but no for v6.x
instead by

/**
 * TODO: document me...
 */
function image_node_form_submit($form, &$form_state) 

but not only this problem, in the new version, the upload image action did not really implemented
I don't know how to fix it -_-!

kalipso’s picture

Having the same problem. I can post an image in the galery. After that I can use it in a page or story. I´m having problems with uploading images directly in the page. I´m using the latest version of drupal and modules. Is there a solution to this problem or maybe a work around? Please help

markabur’s picture

i am here because i am seeing the same behavior, can only attach images that were previously created as nodes, can't create node and attach image simultaneously.

Konfus’s picture

me too!

brainlock’s picture

confirmed on a fresh D6 install

The only other modules installed are lightboxv2 and tagadelic.

ansorg’s picture

subscribe

Hetta’s picture

So how does this solution grab you guys?
http://drupal.org/node/220723

adshill’s picture

That's just a link back to this thread ?!?

Hetta’s picture

bneijt’s picture

I both confirm and subscribe. I can confirm this for a completely new installation of Drupal 6.1

xerexes’s picture

subscribing.

Cynthia Ewer’s picture

Same issue here. Fresh 6.1 install.

drewish’s picture

Status: Active » Closed (duplicate)

i'm pretty sure this is a dupe of http://drupal.org/node/233103 (well actually that's a dupe of this... but it has a patch)

Rushster’s picture

I grabbed the patch and read the patch instructions page but it's not doing anything. Any advice on how to get this issue patched?

Hetta’s picture

Did you apply the patch?

rockfish’s picture

subscribe

same problem stated. can create image node but not within another node.

mrgoltra’s picture

6.2 is out has this been fixed?

NuZeilen’s picture

nope still isn't fixed

CNlQ8o’s picture

subscribing

kriskhaira’s picture

FYI I'm having this same problem with Drupal 6.2 and 6.x-1.0-alpha1. I can't upload it as a story attachment but I can do it separately.

hanzhong520’s picture

who can help this problem? pls

nicksergeant’s picture

Subscribing.

gravemano’s picture

Same problem...

gobioasis’s picture

I can upload files, but file permission set to -rw------- (600) and public cant see it.
I checked if it was server problem or not.. and tried to upload logo, icon files, their permission set to public readable -rw-r--r-- (644).