Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 192
Total: 192

Author Topic: Bulk Image Upload via archive (zip)  (Read 14225 times)

0 Members and 1 Guest are viewing this topic.

Offline dlomneck

  • Member
  • *
  • Posts: 11
    • View Profile
Bulk Image Upload via archive (zip)
« on: November 24, 2007, 02:00:29 am »
How hard would it be to implement something like the SMF package interface, where you can just upload a .zip file full of pictures and have the site decompress them and process them?  This would be 1000% better than giving 100 users FTP access to upload files to the dir on the server.  And easier for people to use I think.  Would obviously have to follow the size standards on the server and resize automatically if set, just like the individual image upload does.  Shouldn't be that hard to have it loop through them though, read the images in, check size, resize if needed, move to the right dir, then delete the archive.zip when done.

Would such a feature be a reasonable request?  The java method seems outdate, and doesn't follow the resize restrictions, and gives me lots of "Undefined index: browser" errors, AND doesn't work for anybody but admin, so isn't a real solution.  Thanks for your consideration.

David

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Bulk Image Upload via archive (zip)
« Reply #1 on: November 24, 2007, 08:46:35 pm »
Might support it later on. Main issue seems to require a php extension in order to function:
http://www.w3schools.com/php/php_ref_zip.asp
« Last Edit: November 26, 2007, 08:00:55 pm by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dlomneck

  • Member
  • *
  • Posts: 11
    • View Profile
Re: Bulk Image Upload via archive (zip)
« Reply #2 on: November 26, 2007, 02:11:45 am »
Well, I know it would be a great addition.  Especially since the bulk image upload is broken if you have it set to resize the images.  It would really allow you to upload a lot of pictures without having to fill out a ton of upload fields.

David

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Bulk Image Upload via archive (zip)
« Reply #3 on: November 26, 2007, 08:28:40 pm »
Looks easy to add using the zip extension. Next question should it be admin only, or added to the bulk upload form as option to select a zip file.

The main issue I could see happening is the memory limit issue for php. By default php has a 2MB post accept limit which means most users of this function will need to increase there php settings in order to accept large zip files. Also might take a while to excute since php will extract the files from the zip file.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline dlomneck

  • Member
  • *
  • Posts: 11
    • View Profile
Re: Bulk Image Upload via archive (zip)
« Reply #4 on: November 27, 2007, 03:17:14 am »
Well, even if you are only using it to upload 5 images at a time, it's going to be less work on the user I think then filling out all those fields.  Maybe I'm being selfish with this request.  I know that my host, crystaltech, has their php set to 8mb, but yes, that 2mb is the normal for uploading.  Even at 2megs, if you zip them, that could be 10 or more images you can upload with a single upload form.  As long as you put something for the user to see that says "make sure your zip is under xxx megs", I would be extremely happy with this feature.  And I do think it should be available to anybody who has access to the bulk uploader.

David

Offline Skyview

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Bulk Image Upload via archive (zip)
« Reply #5 on: December 03, 2007, 04:43:38 pm »
I would like to see something like this as well. However, I would request that it be setup so that you could specify which member groups have the ability to access and use the feature.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Bulk Image Upload via archive (zip)
« Reply #6 on: December 03, 2007, 07:59:20 pm »
I would like to see something like this as well. However, I would request that it be setup so that you could specify which member groups have the ability to access and use the feature.
I was planning on just using the bulk upload option permission to decide if they access to it or not.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Skyview

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Bulk Image Upload via archive (zip)
« Reply #7 on: July 09, 2008, 01:51:13 am »
The main issue I could see happening is the memory limit issue for php. By default php has a 2MB post accept limit which means most users of this function will need to increase there php settings in order to accept large zip files. Also might take a while to excute since php will extract the files from the zip file.

I'm not sure about most people who use the gallery, but I have my site on a VPS so I can set this to anything I choose. In fact, I think I already had bumped it up quite a bit for a file transfer script I was running.

I would like to see something like this as well. However, I would request that it be setup so that you could specify which member groups have the ability to access and use the feature.
I was planning on just using the bulk upload option permission to decide if they access to it or not.

That would work fine as well. Any plans to still include this?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Bulk Image Upload via archive (zip)
« Reply #8 on: July 09, 2008, 07:17:09 am »
It is planned I have started work on it requires an extension to be installed in php though.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
4649 Views
Last post February 12, 2007, 09:47:36 am
by SMFHacks
6 Replies
5933 Views
Last post November 24, 2008, 04:27:09 pm
by m.ehm
2 Replies
3833 Views
Last post May 24, 2010, 11:42:51 am
by SMFHacks
0 Replies
2736 Views
Last post September 28, 2010, 03:32:22 pm
by kizer
14 Replies
6008 Views
Last post June 01, 2019, 07:24:00 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal