1 person found this helpful
Use the renaming options available in upload file SB to rename file to 'username'.jpeg you can add in users' username by using a session variable in the renaming option of file upload SB.
For the feature to show avatar if one is chosen vs. default if no image is uploaded simply create a conditional region that shows if record field is empty then show default image if DB table column has image then show image. Using a conditional region to accomplish this is easy and straight forward.
Hi, thanxs for your answer, i think it's ok for the default photo when the user don't upload any photo, i've set a default value in my DB.
But i didn't understand what you've wrote about the "SB".. is there a preset fonction to upload files on my website in DW ?
i didn't understand what you've wrote about the "SB".. is there a preset fonction to upload files on my website in DW ?
Using Adobe Dreamweaver Developers Toolbox (ADDT - the forum you are posting in) there is a file upload SB (acronym for server behavior) located in Server behavior/Developers Toolbox/File Upload. If you do not have ADDT you do not have this server behavior and you are posting in the wrong forum. Although doubtful you might get a better answer if you don't have ADDT by posting in the Dreamweaver Application Development forum
Oki, i might post in the wrong forum. i'll try in another one.
Thanks for you aswer.