The problem reported here (which is now fixed in general) reoccurs when using imagefield with the whole PageRoute, NodeFamily, UserNode, FieldGroups and NodeProfile setup as demonstrated on more.zites.net.

Can anyone confirm whether this is likely to be a problem with nodeprofile or with one of the other modules?

Regards

Patrick

Comments

fago’s picture

I was not able to reproduce this - I tried the latest imagefield module and the uploaded picture was displayed immediately.

However I've used the image module for doing image uploads, because it's a long time stable module. I've used it by restricting the node population to one and then I've used the node management feature of pageroute.

If you need more than one image content type, you could get more by a little hack to the image module. (hack image_node_info())

Patrick Nelson’s picture

fago,

Thanks for the tip - I'm afraid I'm not skilled enough to hack image.module. You mentioned that you tried the latest version of imagefield - would you mind comparing versions?

I'm using:

imagefield.module - 1.9.2.4
cck (content.module) - 1.56.2.20
pageroute.module - 1.20
Drupal 4.7.3

It's probably also worth mentioning that images upload first time without any problems if I go straight into editing the node - it only doesn't work when I'm in a pageroute.

Any help still appreciated.

fago’s picture

hm strange,
I've used
cck content.module 1.56.2.17
pageroute 1.20
Drupal 4.7.3
imagefield 1.9.2.1

@image.module:
just replace image_node_info() by e.g.
/**
* Implementation of hook_node_info
*/
function image_node_info() {
return array('image' => array('name' => t('image'), 'base' => 'image'),
'avatar' => array('name' => t('avatar'), 'base' => 'image'),
);
}

However the image module thumbnail settings apply to all content-types..

fago’s picture

@image module: I've created a feature request for this

Patrick Nelson’s picture

Thanks fago,

That's really helpful - and I'll certainly use it.

However, I'm still convinced that something isn't right - if imagefield works fine on /node/add but does not work when used in pageroute, that says to me that there is a bug that needs to be checked out. I would be interested to know if anyone else has a similar problem.

Regards

Patrick

fago’s picture

yep that's strange, however for me everthing works..!?
I remember to ran into some strange bugs, but they occured on the normal node form too. However the imagefield code is quite hacky, so I'm not really worrying that this could be a serious bug.. ;)

fago’s picture

Status: Active » Fixed

Again, I've just tested this myself these days. Everything is working fine so I'm closing this.

Anonymous’s picture

Status: Fixed » Closed (fixed)
colan’s picture

Just to add some closure to this for future reference, there is the Pageroute issue:

...and the Subform Element issue: