Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12372
Latest: AllMassive
New This Month: 8
New This Week: 3
New Today: 3
Stats
Total Posts: 39810
Total Topics: 7016
Most Online Today: 132
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 44
Total: 45

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

0 Members and 1 Guest are viewing this topic.

Offline dlomneck

  • Newbie
  • *
  • 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: 14919
    • 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

  • Newbie
  • *
  • 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: 14919
    • 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

  • Newbie
  • *
  • 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: 14919
    • 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: 14919
    • 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
3996 Views
Last post February 12, 2007, 09:47:36 am
by SMFHacks
6 Replies
4251 Views
Last post November 24, 2008, 04:27:09 pm
by m.ehm
2 Replies
2364 Views
Last post May 24, 2010, 11:42:51 am
by SMFHacks
0 Replies
1641 Views
Last post September 28, 2010, 03:32:22 pm
by kizer
14 Replies
2073 Views
Last post June 01, 2019, 07:24:00 pm
by SMFHacks

+- Recent Topics

How to AVOID SEO Hit when Implementing PrettyURLs by SMFHacks
September 12, 2019, 08:50:42 pm

theme by SMFHacks
September 12, 2019, 07:10:51 am

Picture Edit by SMFHacks
August 27, 2019, 11:52:06 am

Getting an error while installing SMF Gallery Pro by SMFHacks
August 18, 2019, 06:54:37 pm

Hashtag Mod Install Error by SMFHacks
August 15, 2019, 08:17:45 am

Rotating Image URLs by SMFHacks
August 05, 2019, 04:26:57 pm

[Mod]Block Proxy VPN On Registration by SMFHacks
August 01, 2019, 10:42:37 pm

[Mod]Nofollow Signature Links by SMFHacks
July 30, 2019, 11:52:28 am

Thinking of getting Ad Seller Pro as well by ajac63
July 28, 2019, 04:46:34 am

Just some questions about Ad Management mod by ajac63
July 26, 2019, 12:12:26 pm

Powered by EzPortal