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.

CommentFileSizeAuthor
#2 upload_image_1.patch1.73 KBkeve
#1 upload_image_0.patch1.56 KBkeve

Comments

keve’s picture

Status: Active » Needs review
StatusFileSize
new1.56 KB
keve’s picture

StatusFileSize
new1.73 KB

Minor opimization.

killes@www.drop.org’s picture

I 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.

szczym’s picture

That 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

dax2’s picture

Status: Needs review » Active

I 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

drewish’s picture

I fixed this in the 4.7 branch. The problem is that you need an fid and the POSTed list doesn't have that yet.

ahaller’s picture

I 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?

mlncn’s picture

Version: 4.6.x-1.x-dev » 4.7.x-1.x-dev

same 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/

killes@www.drop.org’s picture

Status: Active » Closed (won't fix)

I've no idea what the problem in this threat is supposed to be.