forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: Tarique Sani on October 13, 2003, 09:04:34 am

Title: Uploading multiple pictures in Zip
Post by: Tarique Sani on October 13, 2003, 09:04:34 am
Uploading multiple pictres in a Zip file - How do you foks think this should work

Or is this a crappy idea?
Title: Uploading multiple pictures in Zip
Post by: Joachim Müller on October 13, 2003, 09:15:49 am
afaik this has been done as a mod (on the old board) - or maybe I'm confusing things with the mod that allowed you to download pics as zip...
For those who are short on bandwidth it'd surely be a nice add-on.

GauGau
Title: Uploading multiple pictures in Zip
Post by: Tarique Sani on October 13, 2003, 09:24:06 am
AFAIR The mod in the download section allows you to download pictures as a zip file

I want more input like - should there are a comments file in the zip which can add comments etc
Title: Uploading multiple pictures in Zip
Post by: moorey on October 13, 2003, 09:55:51 am
Perhaps this?: When you "add" or "upload" zipped pictures - the server unzips the file and shows the files the same as the "batch add pictures" listing. If there are folders in the zip files, it should be treated like adding a folder with folders during batch adding.

I'm not too sure about that being space-saving though - doesn't unzipping require free temp space? The zip probably should be deleted after unzipping then.
Title: Uploading multiple pictures in Zip
Post by: Joachim Müller on October 13, 2003, 10:17:38 am
...and you can hardly compress jpegs at all, as they're already compressed, so putting them into a zip won't save much space.
Of course the zip should be deleted after successfull unpacking.

GauGau

P.S. I'd prefer an "upload multiple pics at once" interface to a zip upload feature anytime -has been requested often on the old board, see http://www.vddh.com/projects/w-nailer/uploadpics.php?did=test (login as "Guest/Guest")
Title: Uploading multiple pictures in Zip
Post by: Tarique Sani on October 13, 2003, 01:19:19 pm
Quote from: "gaugau"
P.S. I'd prefer an "upload multiple pics at once" interface to a zip upload feature anytime -has been requested often on the old board, see http://www.vddh.com/projects/w-nailer/uploadpics.php?did=test (login as "Guest/Guest")

404 :(
Title: Uploading multiple pictures in Zip
Post by: Rodinou on October 13, 2003, 02:35:23 pm
I'd rather the Zip Solution ...

The coder who has done it on my site Fantasya.net has realized a big thing :
1. you have only ONE form (you choose between a pic or a zip file)
2. Pics dezipped, thumbnails created on the fly
3. possibility to change title

When all is done, added in the data base

Do you want Screenshot ?
Title: Uploading multiple pictures in Zip
Post by: Tarique Sani on October 13, 2003, 05:51:34 pm
Well I ran some tests zipping up jpg images with 85 optimization and the size reduction is not worth the trouble....

Multiple uploads from a single form has to be it
Title: Uploading multiple pictures in Zip
Post by: Joachim Müller on October 13, 2003, 10:31:34 pm
just to give you an idea how this could look like: I just took the html output of the wnailer demo and put it here (http://gaugau.de/partner/cpg/upload/upload.htm) (it won't actually upload anything).

GauGau
Title: Uploading multiple pictures in Zip
Post by: Tarique Sani on October 14, 2003, 07:47:53 am
Quote from: "gaugau"
just to give you an idea how this could look like: I just took the html output of the wnailer demo and put it here (http://gaugau.de/partner/cpg/upload/upload.htm) (it won't actually upload anything)


If someone can make that JS work in Mozilla as well as IE - I will program the PHP easily...

Any JavaScript - dhtml wiz out there?
Title: Uploading multiple pictures in Zip
Post by: tym on October 16, 2003, 04:49:45 am
Just because zip does not provide any space saving for images (a sensible zip program will put them in uncompressed) it does provide a convenient interface for supplying multiple images which is not achievable using a web interface (multiple file upload fields are unwieldy).

Tim
Title: Uploading multiple pictures in Zip
Post by: jasendorf on October 16, 2003, 05:11:30 am
Quote from: "tarique"
Well I ran some tests zipping up jpg images with 85 optimization and the size reduction is not worth the trouble....

Multiple uploads from a single form has to be it


I don't know.  You must admit, finding and uploading say 50 photos with 50 individual upload file is a pain for the user.  But, then again, with uploading via zip we're going to have a mess of a time with quotas.
Title: Uploading multiple pictures in Zip
Post by: Rodinou on October 16, 2003, 09:50:02 am
Jasendorf, no problem with quota : it is possible via php to "calculate" the space of a zip.

If zip > quota, no upload.

Furthermore, it is evident upload pic per pic (even if in the end, 1 sent form is used) = become crazy ! :) :) :)

I like very much the layout of the zip page.

Tarique, what do you want in javascript/dhtml ?
Title: Uploading multiple pictures in Zip
Post by: Tarique Sani on October 16, 2003, 10:49:39 am
Quote from: "Rodinou"
Tarique, what do you want in javascript/dhtml ?

The example page supplied works only in IE - it should work atleast in IE + Mozilla
Title: Uploading multiple pictures in Zip
Post by: Rodinou on October 16, 2003, 10:59:13 am
Don't understand this page doesn't work with Mozilla

in upload.js we have

Code: [Select]


function getObj(name){
        if (document.getElementById) {
                this.obj = document.getElementById(name)
                this.style = document.getElementById(name).style
        }
        else if (document.all) {
                this.obj = document.all[name]
                this.style = document.all[name].style
        }
        else if (document.layers) {
                this.obj = document.layers[name]
                this.style = document.layers[name]
        }
//var y = new getObj('" + photo + "')
}



This proves it's optimized for GetElementById, so ... IE 5.x and ... Mozilla !
Title: Uploading multiple pictures in Zip
Post by: majestyk on October 16, 2003, 12:38:19 pm
An upload facitlity for zip's, tarballs etc. would be great. In my case, I have pictures in a directory which I want to feed in a new album. Instead of adding picture for picture (normally, there are 30-50 pictures I want to add 'in a row'), it is much more convenient to package them - even if there is no more compression gained.
So the upload facility should be able to accept packages (even if they have 30MB or more, this shouldn't be a problem if you have a good connection), unpack them into an "upload" directory, from where you can "batch-add" them as usual.

This would be very helpful for me, since I normally don't add single pictures, I add single albums ;-)
Thanks,
/majestyk
Title: Uploading multiple pictures in Zip
Post by: macke on October 17, 2003, 07:36:35 am
Couldn't this be done in a fashion similar to what is currently used on pbase for zip uploads?  The zip file is uploaded, files extracted, thumbnails generated and you get the pic management page where you can title/move the pics.

--max
Title: Uploading multiple pictures in Zip
Post by: rsorensen on November 11, 2003, 09:42:44 pm
Just my two cents worth -  Before i found Coppermine, I tried Gallery http://gallery.menalto.com/ which is also on sourceforge and running on PHP. It does this with the zip files. Its pretty cool. Just zip up 20-30 images, upload the zip, and Voila!
Title: Uploading multiple pictures in Zip
Post by: tuxhedoh on November 11, 2003, 10:50:40 pm
Back in the days that zing was a photo gallery, and snapfish does this currently, they had an option to download an extra component, that gave you drag and drop capability.  You'd navigate to the webpage that had an area to drop the pictures on.... once you dropped the pictures it would give you a confirmation page that it had all the files, and then upload them.

I personally would think this would be better than uploading via zip....but haven't been able to figure out how it worked.
Title: Uploading multiple pictures in Zip
Post by: Oasis on November 17, 2003, 09:11:48 pm
so..... is anyone doing anything about this one...
I'd hate to see this thread dissappear....

I think the W-Nailer thing is great,
And the pbase way is good too.
Title: Uploading multiple pictures in Zip
Post by: Joachim Müller on November 17, 2003, 09:59:27 pm
this is being worked on: we agreed on the dev team that multiple uploads is a "must-have" feature for the next version...

GauGau
Title: Uploading multiple pictures in Zip
Post by: Oasis on November 17, 2003, 10:13:47 pm
!!! excellent!! I can't wait to see it  :D
Title: Uploading multiple pictures in Zip
Post by: drgonzo120 on December 03, 2003, 11:11:22 pm
we have artists that make visual art, these people don't have ftp access and need to upload multiple pictures in one album, it is way toomuch work for them (or anyone else) to uplod 100 picturs "one-by-one" in the gallery.sourceforge you had and option to upload 10 at a time, which was too less too,  a zip file would be great !!!!
1)make an album  (optional)
2)select the album (dropdownbox)
3)click "browse" for the zip file
4) hit "add"

voila ... easy ?. no ?

in case it is a user album, the dir is put in de /userpics,
in case it is an album in a normal category, the dir is put in /albums

i think, in the current version, this is a major drawback ...


ps: when will this be implemented ?