PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 11th, 2005, 09:38 AM   #1 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Same filename, different category.

Any tried uploading an image with the same filename, into more than one category?

Since all the filenames are stored intact, and all are stored in the one folder for a particular user under the files folder, I assume it will overwrite the previous image? (I haven't tested this.)
ConqSoft is offline   Reply With Quote
Old February 11th, 2005, 12:35 PM   #2 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: Same filename, different category.

Images are kept according to your userid, so when you upload, it all goes to the same folder.
Image names are not stored intact. Everything beside "a-z", "0-1", "." and "_" is deleted from the name.
And finally to answer your question =) no, I don't think images are overwritten (they weren't in RC2). They are suffixed with a 4 letter numerical string.
rbl is offline   Reply With Quote
Old February 11th, 2005, 12:37 PM   #3 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Same filename, different category.

Look around under your files directory... They aren't prefixed with anything. PhotoPost prefixes either the userid or the catid to the filename. Maybe that's what you're thinking of?
ConqSoft is offline   Reply With Quote
Old February 11th, 2005, 12:58 PM   #4 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: Same filename, different category.

Did you read my answer? =) I said SUffixed!

Let me explain it better.
If your userid is 318, your images are uploaded to "gallery/files/3/1/8/file.ext"
If you image is called "nice flower #3.jpg" it will be renamed to "niceflower3.jpg"
If you upload a new image called "niceflower3.jpg", and already exists a "gallery/files/3/1/8/niceflower3.jpg", the new image will be renamed "niceflower3_7864.jpg" where 7864 is a random number.

Better? =)
rbl is offline   Reply With Quote
Old February 14th, 2005, 12:12 PM   #5 (permalink)
Brian
Guest
 
Posts: n/a
Re: Same filename, different category.

Actually (just to be more precise), any images that have the same name as another will be suffixed with a random number between 0 and 999999.
  Reply With Quote
Old February 15th, 2005, 02:53 PM   #6 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Same filename, different category.

Uploading multiple images, using the FTP option.

When processing, if the filename already exists, it tells me "Invalid File Type". If you look in the FTP folder, the filenames have all had the random number appended to the end of their names. I go back to the upload screen, check the box to process the files in the FTP folder a second time, and it works now that the names are different.
ConqSoft is offline   Reply With Quote
Old February 17th, 2005, 10:05 PM   #7 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Same filename, different category.

Any ideas why it would do that?
ConqSoft 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
Show filename in the Showphoto script letmein Photopost Pro How Do I...? 1 October 28th, 2005 10:24 AM
Corrupt tumbnames, mismatch between server filename, and dB filename imported_tamarian Installs and Upgrade - vBulletin 3.0.X 3 March 7th, 2005 11:06 AM
If there's an & in the filename it breaks the rebuilder MonsterMaxx Installs and Upgrade - vBulletin 3.0.X 0 February 9th, 2005 06:12 PM


All times are GMT -5. The time now is 01:19 AM.

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