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
Comment #1
fagoI 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())
Comment #2
Patrick Nelson commentedfago,
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.
Comment #3
fagohm 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..
Comment #4
fago@image module: I've created a feature request for this
Comment #5
Patrick Nelson commentedThanks 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
Comment #6
fagoyep 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.. ;)
Comment #7
fagoAgain, I've just tested this myself these days. Everything is working fine so I'm closing this.
Comment #8
(not verified) commentedComment #9
colanJust to add some closure to this for future reference, there is the Pageroute issue:
...and the Subform Element issue: