helo
that is good and needed module BUT image is beeing generated only after update of node so after edit of parent node or after posting an comment to it.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | upload_image_1.patch | 1.73 KB | keve |
| #1 | upload_image_0.patch | 1.56 KB | keve |
Comments
Comment #1
keve commentedComment #2
keve commentedMinor opimization.
Comment #3
killes@www.drop.org commentedI don't quite understnad how the patch is supposed to work. I think it will cause problems if there is more than one file attached to a node.
Comment #4
szczym commentedThat patch not work, i get 3 times error message: File copy failed: source file does not exist.
After the first test i changed the limits in upload settings to 0 and again i get the same problem.
The image node is being generated after submitting of node but contains no image in it.
thanx for help
Comment #5
dax2 commentedI have the same bug. Images are not generated until a node is updated.
The files array in the $node that is provided for the upload_image_nodeapi(&$node, $op, $arg) { function is not given with $file->fid or with $key values of the fid.
The upload_image_save function fails on $file->fid
Comment #6
drewish commentedI fixed this in the 4.7 branch. The problem is that you need an fid and the POSTed list doesn't have that yet.
Comment #7
ahaller commentedI am using a fresh install of the version upload_image.module,v 1.10.2.1 2006/07/06 18:48:27, but the bug seems not to be fixed. I still have to upate the node once before the image node and preview is generated.
Can somebody tell me how to update the module?
Comment #8
mlncn commentedsame issue as noted, a second submission of the node edit form is needed to get upload image to work its magic.
I'm using a modified version of the auction module, so please tell me if the problem is with me and not upload_image.
In either case, as a work-around, does anyone familiar with the code think a cron job or link could be set up to activate upload_image for all images?
- ben melançon
http://AgaricDesign.com/
Comment #9
killes@www.drop.org commentedI've no idea what the problem in this threat is supposed to be.