Photo Upload............

When a photo is uploaded it makes 4 photos for the one uploaded. The system renames the photo to a number where it stores the photo great no problem but where is the table that is the associated number to actual photo itself? So it renames it but there is no place but the file itself to see the number the photo became? When wanting to upload large number of photos how would you keep track or be able to associate the number assigned to the actual photo? The bx photo main assigns a hash mark and a series of a uri, name, description..........no number........ But no associated way that I can see to find the number that the photo was given........ Is that true.........Anyone figured this out?
Csampson
Quote · 26 Nov 2011

 

When a photo is uploaded it makes 4 photos for the one uploaded. The system renames the photo to a number where it stores the photo great no problem but where is the table that is the associated number to actual photo itself? So it renames it but there is no place but the file itself to see the number the photo became? When wanting to upload large number of photos how would you keep track or be able to associate the number assigned to the actual photo? The bx photo main assigns a hash mark and a series of a uri, name, description..........no number........ But no associated way that I can see to find the number that the photo was given........ Is that true.........Anyone figured this out?

It looks like everything is controlled in the /flash/modules/photo/inc/actions.inc.php file. The number that is assigned appears to be the unique ID of the image in the database which would be automatically generated by mysql:

$sId = isset($_REQUEST['id']) ? (int)$_REQUEST['id'] : 0;

If you wanted to see what number the photo became, you would have to add a field to the photos table in MySql and write code that takes the existing name and saves it in the table. I wish I could tell you how to do this, but my experience is with Sql Server... I'm a bit lost at PHP and MySql.

Quote · 28 Nov 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.