PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 10th, 2006, 11:20 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: England
Posts: 111
Can you upload photos in a .zip

Hi there when you create an album and the go to upload your photos instead of adding them one by one can a user select a .zip with all there photos in and upload that way.
tidy_boy2005 is offline   Reply With Quote
Old January 10th, 2006, 12:13 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: England
Posts: 111
Or how can registered users bulk upload pics from the pc
tidy_boy2005 is offline   Reply With Quote
Old January 10th, 2006, 12:29 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
You can upload a zipfile of images which can be extracted and process if this option in Admin Options is set to yes

Do you want to allow ZIP uploads?

Registered Users can do bulkuploads if you give them an ftp account limited to there upload directory. I know of a few admins who do this but overall it is not used alot.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 10th, 2006, 01:21 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: England
Posts: 111
Hey Chuck I have enabled the .zip uploads and a friend of mine tried to upload a .zip for with about 60 photo's in it and it got about half way through and the screen timed out.

They got the page can not be displayed in IE.




Any ideas why?
tidy_boy2005 is offline   Reply With Quote
Old January 10th, 2006, 01:57 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Okay I beleive your issue is one of PHP setting restrictions.

Please note you are still bound by your php settings in Photopost so if you max upload size is 2mb in phpinfo for PHP then I would suggest you do this.

Go to Admin => Edit Usergroups and place in maxfilesize for everyone 2048. That way if someone tries to upload a filesize thats too big they should get an error although PHP may still dump out a white screen if they try but on the upload page it will specify there max upload size

Your only other recourse would be to edit your php.ini if you have access and increase the maximum allowable filesize in php.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 10th, 2006, 02:56 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: England
Posts: 111
Hey chuck I have checked the phpinfo within photopost admin panel and I found this

upload_max_filesize 20M 20M


Is this what the maximum file upload is in my php.ini
tidy_boy2005 is offline   Reply With Quote
Old January 10th, 2006, 03:31 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Okay that good to know

I guess the operative word here is how big was his zip file?

You can also try if it is a timeout issue this in uploadphoto.php adding the line in bold.

ini_set("max_execution_time", 0);
define( 'THIS_SCRIPT', "uploadphoto" );
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 10th, 2006, 03:40 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: England
Posts: 111
Does that 20M mean 20mb max upload
tidy_boy2005 is offline   Reply With Quote
Old January 10th, 2006, 03:42 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Yes my friend it indeed does mean that
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 10th, 2006, 03:44 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: England
Posts: 111
I have added this

ini_set("max_execution_time", 0);

What does it do?


tidy_boy2005 is offline   Reply With Quote
Old January 10th, 2006, 05:09 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Well what that does my friend is if your say PHP timeout is 30 seconds it sets it for photopost to unlimited so PHP does not timeout during large uploads.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 11th, 2006, 04:02 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: England
Posts: 111
Hey chuck I tested out this .zip upload feature today and it still does not work.

I changed the setting in the admin panel for maximum upload size to 20mb I then zipped up 18 mb of photos and it timed out and said theat the page can not be displayed


Any ideas would be great mate as I really want to let my member upload this way


thanks
tidy_boy2005 is offline   Reply With Quote
Old January 11th, 2006, 05:41 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Your PHP Memory is set to 40M and your using GD2 which uses PHP memory. When the zipfile is uncompressed your definately going to have lots and lots of images uncompressed which is going to trigger a memory issue.

My suggestion would be to limit filesize uploads to a certain size that is going to work well for your site. Try an 8mb upload and see of that zip uncompresses correctly. It's not so much the uploadsize here but when it is unzipped it grows extremely in size. I know most images are compressed tons in a zipfile so I don't even wanna thing of how big the uncompressed files are.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 12th, 2006, 03:03 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: England
Posts: 111
Hey chuck it worked on 8mb mate

Whats better to use gd2 or imagemagik?

Also whats the normail file path to imagemaigik in linux?

Thanks
tidy_boy2005 is offline   Reply With Quote
Old January 12th, 2006, 10:39 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Well gd2 and imagemagick are comparible if your using gd2 2.028 only drawback I see is in processing larger images with gd2 you will see more PHP fail issues because of the fact like stated it does use PHP memory. On alot of installs this PHP memory is 8mb so its good you have yours higher. However as noted trying to process huge files like a 17mb file and uncompress it and handle the images you can see that it will use 40mb of PHP in a snap.

Now the usual paths to mogrify are as such

/usr/bin/mogrify
/usr/local/bin/mogrify
/usr/X11R6/bin/mogrify

You can check with your host on exact location if it is present on your system or if you have SSH sign in and do a whereis mogrify.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 20th, 2006, 06:10 PM   #16 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2005
Posts: 21
im trying to chance the zip file size upload limit, what file do i have to edit on the backend to do this, do you know the path, thanks
TunerNetwork is offline   Reply With Quote
Old February 20th, 2006, 07:02 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Your path is displayed when you view the phpinfo. You want to edit your php.ini file. You do not have access to this file unless your on a VDS OR DEDICATED SERVER.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 20th, 2006, 07:10 PM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2005
Posts: 21
/usr/local/Zend/etc/php.ini

thats the path it shows me. Ok, since i cant get that from my ftp, what should i do to address this, thanks chuck, just bare with me, tryin to get this figured out.
TunerNetwork is offline   Reply With Quote
Old February 20th, 2006, 07:16 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
As your host if they will increase the max file uploadsize in PHP.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 20th, 2006, 07:17 PM   #20 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2005
Posts: 21
ok, i will do so, thanks chuck.
TunerNetwork is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I upload in bulk via ZIP files? WeST How Do I? - vBulletin 3.5.X 2 September 30th, 2005 10:31 PM
PP 5.03 - Can't do zip upload wx4castr General Discussion 1 June 20th, 2005 05:59 PM
2MB Zip upload limit rcflood Photopost Pro How Do I...? 3 April 20th, 2005 09:32 AM
Issue with .zip upload thechameleon Photopost Pro Installation & Upgrades 5 March 10th, 2005 05:40 PM
Zip Upload & per day limit how?? iphoto General Discussion 2 December 28th, 2004 08:56 AM


All times are GMT -5. The time now is 06:07 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0