Hi,
I'm using CCK 2.x and ImageField 3.x.
I also make use of ImageFUpload.
Everything about file paths, permissions etc. is working well.
I don't know if the problem is in FileField, ImageFUpload or ImageField. I have an issue in an ImageField scenario so...
Well, the problem happens if you upload many images in one node.
Let's say I have uploaded 100 images in an ImageField, with ImageFUpload.
The more images there is in the node, the slower uploading new images is.
The first images in the list are processed quickly, but after the 100th or so, it takes about 15 seconds to process one image.
After the 150th image, I get PHP memory errors. (The PHP script memory limit is 320M)
I think being able to upload many images in a node using CCK is quite important, but it seems it is currently impossible.
Am I the only one to have such a problem ?
Thanks
Comments
Comment #1
artscoop commentedWell, I suspect that adding a file to a list of 20 CCK Files in a node performs 21 operations, and so on.
That is to say, I think that adding 100 files to a new node performs 1+2+3+4...+100 operations. I couldn't explain the slowdown otherwise. (it happens on any site on any server with any version of CCK FileField and ImageField, but I only got errors when I tried to upload more than 150 images)
Comment #2
quicksketchI'd say your stretching the intentions of CCK with what you're doing. If you have 100+ images you should be creating separate nodes instead of all in one node. However if the problem you're having is upon upload, you'd be better off asking in the queue for the module that is providing your uploading (Image FUpload). I'm closing this issue due to the lack of activity, but if you have further questions relevant to ImageField directly please reopen