Your first port of call should be http://scripteka.com for all of your ProtoScripty extras love.

As far as uploads go, you realize that Ajax can't upload files (except in Safari 5 and Chrome.latest), so any of these systems must fake an in-page upload using a dynamically created iframe.

As far as the progress meter goes, the only other issue there is that you usually also have to have a Perl module on your server to monitor the upload progress. PHP won't do it, not sure about Ruby or Python. It depends a LOT on your server whether you get a realistic idea how much of the file is actually there, and you generally need another process pinging the server periodically for updates. I personally just put a spinner or barber pole up and call it done.

One project you might want to look at (it doesn't use Prototype, but it is compatible) is NoSwfUpload. It's a gnarly bit of fairly spaghetti code, but it does a true Ajax upload in the one or two browsers that can do that, and fakes it with an iframe for the rest. It does do something to make a progress bar, and it seems to actually work or at least it fooled me.

Walter

On Jan 12, 2011, at 4:14 PM, Ivan Polak wrote:

Hi!,

please, is there any plugin in prototype (scriptaculous) to upload
file (with progress bar, with posibility to upload two or more files)
for example like in facebook image gallery upload.

and the second question is, is there any image(photo) gallery plugin
with drag&drop feature, like in facebook (too :-).

thanks!

Ivan

--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .


--
You received this message because you are subscribed to the Google Groups "Prototype 
& script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to