You are not logged in.
I seem to have found and solved the problem:
I first created a directory “batchupload” as mentioned in the installing instructions 1.
But the PluginCode specifies the used directory in line 1 (or 2) as “batchUploads”.
Creating a new directory (I think renaming will work as well) “batchUploads” (also of course set to 777) solved the problem!
Didn’t check yet whether a “batchupload” is needed as well.
I began with very small files. Settings to 777 were correct all the time. Limits didn’t play a role. But it is quite right to ask. Thank you for helping.
Last edited by saccade (2006-11-10 21:39:47)
Wow, it is working pretty well!
Now I also verified for the subdirectory installation.
Indeed it has nothing to do with top/subdirectory, it was the correct directory name.
This time I tried renaming batchupload -> batchUploads and it worked.
(There is no “batchupload”-directory any more.)
And of course soulships solution is essential: upload.swf in the textpattern-directory
(not in the “batchupload/batchUploads”. I tried the later, but it brings back the first problem).
Last edited by saccade (2006-11-10 21:51:47)
Ok. Sorry, I’ve been away from the computer for a bit today (and tomorrow as well)
The processing directory can be changed (by changing the name batchUpload from below), if you desire, but it still must reside within the textpattern directory.
/** Temporary Location to process uploaded images. MUST be writable. **/
$GLOBALS[‘upload_dir’] = “batchUpload”;
Also note, the directory needs to be batchUpload – Sorry for the intercap. I’ll fix this in the upload tomorrow.
Last edited by TheEric (2006-11-11 05:15:16)
This works great. I had couple ideas for small future features.
I simply added this to ebl_showUploadSWF before the closing
'<p style="text-align:center">'. '<input type="button" value="Close Window" onclick="window.opener.location.reload();window.close();" />'. '</p>'.
seems to work. Ideally it’d be nice to not have to require clicking the specific button but it’s a quick fix for not having to remember to hit refresh.
Last edited by hakjoon (2006-11-13 16:48:58)
Shoving is the answer – pusher robot
Try your plugin and it works fine with TXP 4.0.4. But have no chance with TXP 4.0.3 : no categories in the list and no error message.
What exactly is it doing? Is it just not showing any categories, or is it doing something more? I’ve tested this plugin with both versions and it’s worked well. Are you sure upload.swf is placed within your textpattern directory?
- it would be nice to set defaults for resizing and thumb sizes. That way we wouldn’t have to remember what we used before if we have stabdard sizes.
It does have default sizes if nothing is entered into the width/size fields for each option. Resizing defaults to 640×480, and thumbnailing defaults to 100×100
- Along those lines it would be nice to be able to hide those controls from less priviledged authors. Although I think having defaults makes this not as necessary
Good Idea, although it can be a bit difficult to implement. I’ll look into this and see if I can have this working for the next revision.
- the only real annoyance is having to refresh the images tab to see the images that got uploaded. I don’t know if this is possible to do from actionscript but maybe refresh the opening window when the uploads complete? Another option could be to simply add a Close window button that will refresh teh opener. I quickly hacked this together and it seems to work fairly well.
This is something that bugged me and I haven’t really come up with a decent solution yet. I’m thinking that in the next release, there will no longer be a popup window and that the flash file will be integrated into the images page directly, and replace the existing upload option.
Last edited by TheEric (2006-11-13 17:54:56)
Edited because I somehow missed all of the other posts about batchupload vs. batchUploads
I get an empty pop-up window when I click on ‘Batch Upload’ in Images. I have chmod the batchUploads directory and upload.swf in \www\textpattern also.
Last edited by Prax (2006-11-13 19:24:28)