First, start with the admin piece.
Create the admin pages using DataAssist so you can upload the files and store them in a database.
You will probably create a Images table a minimum of the following fields:
imageID - PrimaryKey
imageUserID - foreign key relation to the users table. used to relate the image being uploaded to a particular user.
imageFileName - varchar(45)
imageDescripton - varchar(45)
you may also want to an imageThumb column, you could use Digital File pro to automatically generate a thumbnail image.
When running the DataAssist wizard to create the management piece for the images table, set the imageUserID column to be a menu. Tell it to use the Users table. set the value to the userID column and the lable to the user name column. This way, when you are uploading an image, you will have a list of registered users that you can chose from to assign the image.
At this point, see the "How to apply Digital File Pro to DataAssist Insert and Update pages" tutorial for adding the image upload feature to your pages.
Once you have the administrative piece done, you can move to creating the customer pages.
Use the SecurityAssist wizard to create the user registration and login pages.
When the user logs in, the userID will be stored in a session variable.
On the profile page, you can create a recordset to query the images table. Filter the imagesUserID column on the userID session variable to return only the images for the logged in user.
Add the recordset listing to the results page using a repeat region.
In the repeat region, add a form to trigger the download. For the form name, use the imagesID column form the images recordset. You need a single hidden form field and a submit button in the form. The hidden form filed value should use the image name value from the recordset.
next add the DFP File Download behavior. You need to specify folder where the images exist on the folder. For the File name, click the lightning bolt and select the hidden form element.