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 November 21st, 2006, 11:45 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Question Mass uploading and PP's Picture selection

Okay so, we upload a lot of mass uploads through FTP and URL but it is always very annoying when Photopost randomly picks the pictures from the source rather than following some squence or pattern which is easier to follow as far as putting description and titles in the bulk upload page....

Say if FTP directory has these files:


Picture1
picture2
picture3
picture4

so on...

It would be nice if PP also follows the pattern in displaying the pictures in that format so
picture1
picture2
picture3
so on...

would also show up in the list like that... instead of random picture from the directory!

And for URL uploads, why not start from TOP of the page and follow down? Or start from bottom and follow up? Not randomly cherry pick pictures?

Any ideas? Solutions?
DefenceTalk.com is offline   Reply With Quote
Old November 21st, 2006, 03:01 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
I do not beleive there is anything in Photopost that randomly processes pictures we should process a directory from lower to high number then low to high alphabetical be default I beleive and processing a url it should read img tags from top to bottom I beleive
__________________
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 November 21st, 2006, 05:53 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Arrow

Quote:
Originally Posted by Chuck S View Post
I do not beleive there is anything in Photopost that randomly processes pictures we should process a directory from lower to high number then low to high alphabetical be default I beleive and processing a url it should read img tags from top to bottom I beleive
Well, over 17,000 pictures and never would it take the pictures alphabetically or from TOP to bottom.... we end up scrolling the URL page many many many times to find the picture that is PP has in the bulk upload, etc. It does not do top to bottom from URL and it does not do low to high or alphabetically when uploading from FTP, that is why it is so annoying.

Fearing that you may be right, I just did a test through FTP directory upload and it does not do low to high or high to low pattern. Instead it does this:

Directory has files with names like

filename-121
filename-122
filename-123

all the way down to 130 only difference being the last digit... so what pp does it display filename-129 first then filename-122 then filename-128 then filename-124 and so on... no pattern.

Earlier did few URL upload tests and same thing, gets the pictures from all over the page rather than top to bottom.
DefenceTalk.com is offline   Reply With Quote
Old November 24th, 2006, 09:29 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Any solution for this?

Even tried it on the latest and version before the current version.... no luck.
DefenceTalk.com is offline   Reply With Quote
Old November 25th, 2006, 03:24 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
How is your server sorting the images?

I think this would be your issue. I think we are just going to grab and process images as we see them on disk
__________________
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 November 25th, 2006, 10:13 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
I don't know how its sorting it...how do i check and how do i make sure it does it by the name?

Also, what about the uploading from URL... it doesn't do it from top of the page to bottom.

Thanks
DefenceTalk.com is offline   Reply With Quote
Old November 26th, 2006, 02:41 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
I will ask Michael but from what I see we just scan and process. You know you can order photos in a category as you choose?
__________________
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 November 27th, 2006, 10:16 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Thanks.

I know about various options available in the category sorting but... thats AFTER the uploads are done.

So my request for PP dev Team:

When uploading through URL, I would like to see PP do TOP of the page to BOTTOM and not do random or cherry pick photos from all over the page.

When uploading through FTP, have some order, please no random stuff.

That is all I ask.

Thank you.
DefenceTalk.com is offline   Reply With Quote
Old November 27th, 2006, 10:31 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
We use very simple php commands by example here when processing bulkuploads. It will read usually from the first file in that directory and process till it reaches the last.

Code:
Content visible to verified customers only.
You can view what opendir and readdir is on the PHP site but basically I don't really see what else we can do. If you want a specific order to display pictures in you can as I pointed out sort them when viewing the category and set the display order.
__________________
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 November 27th, 2006, 12:37 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Okay fair enough.

Anybody know how I can check what is the default file sort policy on the linux server?

Chuck, any idea on the URL uploads?

Thank You.
DefenceTalk.com is offline   Reply With Quote
Old November 27th, 2006, 12:40 PM   #11 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Why not just set the default sort order for the category to "Alphabetical"? That's what I do.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 27th, 2006, 12:51 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
The pictures in the categories already is not the problem. I know, there are different options available to sort the pictures AFTER they are uploaded and displayed in the categories.

The problem seems to be random display of pictures in the list when bulkuploading.... is that also controlled by the category sort option?

Thanks
DefenceTalk.com is offline   Reply With Quote
Old November 27th, 2006, 01:06 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
I think what Michael is stating is the other side of the coin on picture display order is achieved. You can use a sort as he states or you can do the explicit set a sort order as I described to override any sort

I guess what we dont see if why your singling out the display of the preview thumbnails sort order on bulkupload. They are not affected by any sort. They are uploaded as noted by simple reading a directory and processing files in order they are found. Same thing does reading an html file. we should go down the file and read every img src tag and grab images. How the server is interpreting the sort order of the directory when we read it I can not say.
__________________
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 November 27th, 2006, 01:10 PM   #14 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
As Chuck pointed out, we use readdir() to get the next X photos from a directory; if you wanted to sort that list you would need to read all of the photos into an array, sort the array and then pick X photos from the top of the array.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 27th, 2006, 01:15 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Quote:
I guess what we dont see if why your singling out the display of the preview thumbnails sort order on bulkupload. They are not affected by any sort. They are uploaded as noted by simple reading a directory and processing files in order they are found. Same thing does reading an html file. we should go down the file and read every img src tag and grab images. How the server is interpreting the sort order of the directory when we read it I can not say.
Well... I can understand that FTP bulkuploads may be affected by the directory sort on the server but what about URL?

I mean, try it. Try uploading from a URL (usually vbulletin thread pages) and it does not go top to bottom when displaying the thumbnails on the bulk uploads... maybe its user error?
DefenceTalk.com is offline   Reply With Quote
Old November 27th, 2006, 01:29 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
well threads from some PHP program I cant say its all dynamic and may be affected by program sorts different from guests and logged in users. Just an idea there
__________________
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 November 27th, 2006, 01:30 PM   #17 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Concerning parsing a URL, the files are extracted and placed into your uploads directory and then processed by bulkupload separately.

Again, bulkupload isn't sorting any list - it's just reading the files from the uploads directory via readdir().
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 27th, 2006, 03:13 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Quote:
extracted and placed into your uploads directory and then processed by bulkupload separately.
Does it extract from top of the page to bottom or just grabs and go?
DefenceTalk.com is offline   Reply With Quote
Old November 27th, 2006, 03:26 PM   #19 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
I've never gotten that granular in checking to see what order photos were taken from a page because it really isn't significant. It parses an html page for img src tags and then tries to grab them and places them in the uploads directory before forwarding over to bulkupload for processing.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 27th, 2006, 04:06 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
I checked the server and it seems the files are sorted from lower number to higher number so

filename-121
filename-122
filename-123

Would be the order ON THE SERVER but still PP would not process them as they are sorted on the server.... anybody else with this problem? lol
DefenceTalk.com 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
PP's links for imagemagick bad DotHQ Photopost Pro Installation & Upgrades 9 March 29th, 2006 02:29 PM
Featured Photo Picture Selection Candlelight Photopost Pro How Do I...? 4 July 25th, 2005 11:08 PM
Mass Uploading (FTP) and Existing Filenames ConqSoft Bugs From 1.0.0 1 July 9th, 2005 09:39 AM
Mass Uploading (FTP) and Existing Filenames ConqSoft Bugs From 1.0.0 6 May 30th, 2005 04:03 PM
Mass Uploading Lizard King Installs and Upgrade - vBulletin 3.0.X 2 April 7th, 2005 03:40 PM


All times are GMT -5. The time now is 04:27 PM.

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