1. Set folder and directory variables 2. Set Optimal Dimensions for 4 re-sizings 3. Detect file size of uploaded file 4. Create dimensions of forthcoming resized images 6. File Original image in archive folder a. create directories b. upload image c. check size a. upload image b. check size 6. Database image a. retrieve an album sequence number b. create record in tbl_PA_Photos and get MAX photo ID c. create record in tbl_FSC_Content and get MAX content ID d. update tbl_PA_Photos with ContentID a. update photo record with new original filename 7. prep for resizing process a. preserve image extension b. create new filename (FSC_ContentID,ClientType,OwnerID,SubFolder,UniquePhotoID) c. update new tbl_FSC_Content b. query to get filename c. check for change in file/image extension *. if change, update tbl_FSC_Content d. delete obsolete files within FSC Content 9. perform photo resizing and filing a. thumbnail, small, medium, large