Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1] 2   Go Down

Author Topic: Uploading multiple pictures in Zip  (Read 12979 times)

0 Members and 1 Guest are viewing this topic.

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Uploading multiple pictures in Zip
« 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?
Logged
SANIsoft PHP applications for E Biz

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Uploading multiple pictures in Zip
« Reply #1 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
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Uploading multiple pictures in Zip
« Reply #2 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
Logged
SANIsoft PHP applications for E Biz

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Uploading multiple pictures in Zip
« Reply #3 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Uploading multiple pictures in Zip
« Reply #4 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")
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Uploading multiple pictures in Zip
« Reply #5 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 :(
Logged
SANIsoft PHP applications for E Biz

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Uploading multiple pictures in Zip
« Reply #6 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 ?

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Uploading multiple pictures in Zip
« Reply #7 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
Logged
SANIsoft PHP applications for E Biz

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Uploading multiple pictures in Zip
« Reply #8 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 (it won't actually upload anything).

GauGau
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Uploading multiple pictures in Zip
« Reply #9 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 (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?
Logged
SANIsoft PHP applications for E Biz

tym

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Uploading multiple pictures in Zip
« Reply #10 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
Logged

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
Uploading multiple pictures in Zip
« Reply #11 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.
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Uploading multiple pictures in Zip
« Reply #12 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 ?

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Uploading multiple pictures in Zip
« Reply #13 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
Logged
SANIsoft PHP applications for E Biz

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
Uploading multiple pictures in Zip
« Reply #14 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 !

majestyk

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Uploading multiple pictures in Zip
« Reply #15 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
Logged

macke

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Uploading multiple pictures in Zip
« Reply #16 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
Logged

rsorensen

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.ryansorensen.com
Uploading multiple pictures in Zip
« Reply #17 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!
Logged

tuxhedoh

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • http://deanmckenzie.org
Uploading multiple pictures in Zip
« Reply #18 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.
Logged

Oasis

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 252
  • iNSiGNiA
    • Pixnet Gallery
Uploading multiple pictures in Zip
« Reply #19 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.
Logged
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org
Pages: [1] 2   Go Up
 

Page created in 0.024 seconds with 19 queries.