silverorange labs

Comments

Comments are locked. No additional comments may be posted.

Joao Prado Maia -

Please don't rely on requiring your users to use a ZIP-type utility in order to be able to upload multiple files, dynamically.

I already have a system working for allowing multiple dynamic file uploads with some simple DHTML, and PHP's ability to automatically create arrays for input fields named 'some_name[]'.

Is this little tip good enough for you to get started ?

--Joao

Joao Prado Maia -

Ah, indeed. On that case zipping the files is not such a bad thing, but for a normal scenario where the user needs to upload 3 or 4 files, it's not such a problem.

But no, my solution doesn't allow the user to select more than one file at a time. It would be nice if XForms (or the next generation of it) would provide this functionality.

Oh well :)

--Joao

Daniel Von Fange -

Seems like a great solution to the problem. Definitely so competent computer users. Good thinking.

Peter Rukavina -

<P>
Apple's Mac OS X has a zip utility built into it. Usage:

<PRE>zip filename.zip file1...filen
</PRE>

For example:

<PRE>zip petephotos.zip dog.jpg cat.jpg
</PRE>

It's command line driven, of course, so not as easy as it could me.<P>

To solve this problem for posting to my own website, I wrote a brief AppleScript (OS X's secret weapon) that lets me drag and drop photos on an icon on my desktop, and then copies them to my webserver, resizes them if necessary, and copies HTML required to include them into a weblog post onto my clipboard, from where I can simply paste it as appropriate.

Peter Rukavina -

Thought: modern email clients make emailing photos an easy drag-and-drop operation. Grandmothers know how to do this because it's how they send photos of grandchildren to each other. So, users up at the website, register an email address, and then simply add photos to their "library" by emailing them to a purpose-built email address that accepts photos and processes them.

Jevon -

What would be considered an "average" attachment size limit? I recall that being an obstacle for several similar attempts of mine (caveat: not photos) in the past at solving similar problems.

Adam Kalsey -

A solution I once used on a private extranet for mass file uploading was to open an FTP url in an iframe through the browser. The user then simply drags all their files into the iframe. They can even navigate through the FTP directory structure first if they would like.

The disadvantages of this approach:

You have to embed the FTP username and password in the FTP link.

It depends on browser support, but most modern browsers now support drag and drop FTP uploads.

Nick Burka -

Peter and Adam, good ideas both.

Peter, I'd already been considering doing the email attachment root. There were a couple reasons I prefered the ZIP file, but I might rethink that; the common knowledge of how to email is definetly attractive. That said, issues with associating email adresses with certain sites, and limits for sending attachments (Hotmail limits this to about 1Mb, receiving of course is not a problem) might cause a few problems.

Adam, I'm going to try out this iframe-FTP idea. I wonder what the browser support is.

Keir -

Has anyone tried out Adams suggestion of using an iframe to hold the FTP window? It is perfect for one of my current projects but for some reason the first screen loads fine and contains the FTP window within the iframe but any subsequent drilling down looses the wrapper HTML and launches the FTP window into full screen view.

Has anyone else had this problem?

Kyle Parker -

A new tool that we developed can do this. Look at http://www.ibulc.com for more info.

Jevon -

Here is a creative, if not risky, approach to solving this problem.

Anal_Towel -

hi Keir, i have this problem too.. I try with target="internal" in iframe tag, but doesn't work.. ahhgg.. ill be crazy if i continue thinkin about it..

Jim Amos -

I'm interested to see how this progresses. I've been searching for a decent gallery upload/management tool for ages. Did you solve the problem of multiple uploads yet? Also, what is the status of the system with regards to the intended 'XHTML Strict and CSS Level2 standards compliance'? It's a real shame none of this is being made public, there is a real need for this kind of solution. Though I understand your financial reasons for keeping it locked. Just as a developer this sounds like a very good thing.

rohini -

I need "FTP bulk upload tool" in php, can anybody post me the details its very urgent.

Martin -

Hi All,

My problem is exactly the oposite. At a party I took sevoral photos. Now I want to make them available on my website for download. My first idea was to let the visitor select the photos he want to have (stored in a database), have PHP zip them and finaly have PHP mail the zip-file to the visitor.

Anyone know how to do this?

Thanx in advance

Martin

Stirlyn -

I think I came across a small ajax type script a few years ago that went some way to getting this but cannot for the life of me remember. I think the FTP/Iframe idea isn't too bad either, however the zip/ftp is a good starting point for a pro snapper site, they are usually very techie so understand. I want a solution for backing up and want to link in with AWS for storage of the RAW and hi-res images