I'm using the php script copied directly from Writing Server-Side Upload Code, Uploading in PHP... copied exactly. I created a directory called Gallery and one called Thumbnails. (all scripts and Gallery and Thumbnails are in root)
added:
iu.addParam("ButtonSendText", "UpLoad");
iu.addParam("BackgroundColor", "#FFFFFF");
iu.addParam("TreePaneBackgroundColor", "#F9F9F9");
iu.addParam("FolderPaneBackgroundColor", "#F9F9F9");
iu.addParam("UploadPaneBackgroundColor", "#FFC5C5");
iu.addParam("DropFilesHereText", "Drag images from above and drop them here to be uploaded.");
iu.addParam("ShowDescriptions", "false");
iu.addParam("TreePaneWidth", "200");
iu.addParam("FolderPaneHeight", "240");
iu.addParam("ThumbnailVerticalSpacing", "8");
iu.addParam("ThumbnailHorizontalSpacing", "12");
iu.addParam("PreviewThumbnailSize", "65");
iu.addParam("ButtonAddToUploadListText", "Add Selected");
iu.addParam("ButtonRemoveFromUploadListText", "Remove Selected");
iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.png;*.gif;");
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "1200");
iu.addParam("UploadThumbnail1Height", "1200");
iu.addParam("UploadThumbnail1JpegQuality", "90");
iu.addParam("Action", "/PicUpload.php?");
It looks like the upload proceeds fine, give the upload complete notice, but nothing appears in the Gallery or Thumbnails directory.
Can anyone help this newbie? (also a newbie with php)
Thanks.
Edited by user Thursday, May 21, 2009 2:00:03 AM(UTC)
| Reason: Not specified