A) I want to save the profile picture on Amazon s3. So the profile pic URL will be the Amazon s3 link. Please, advise me how we can do this? Is there a way to change all files and user profile pics and file save to AWS s3?
B) At least is there a way to save the profile pic url programmatically without referring to the portal path? If I can upload a profile picture image in a separate page with external Amazon s3 file, that is also fine.
Please, help.
Thank you very much for your reply. Please, let me know how can I do this then. I will save the default DNN profile image functionality. Not using Amazon S3. But use the default file saving path. But I need this to do in a separate module via a file upload control. Is there a way to move this file upload control or functionality to another placed? Please, can you advise me the exact way to do this? I need to use a custom file upload control or the same profile picture uploading control part in another place. I will use a custom form to update other profile properties. Thank you.
I wouldn't suggest trying to circumvent the way that avatars/profile pictures work in DNN. Long-term, it would just lead to issues in maintaining it from version to version and it could even break due to other extensions (themes and modules) on the page(s) where the profile pictures are.
The suggestion to use a folder provider is rock-solid, and I've used the Evotiva GlobalStorage provider with great success myself.
I haven't tried it with the Users folders myself, but it should theoretically be possible. It's just tricky since it's a built-in folder. You'll not only want to be very careful with the initial implementation of this, but you'll want to test this thoroughly each time you upgrade.
In general, when you replace an existing folder with one that is using an external data store like Amazon S3, I've followed the steps below and have had no issues so far.
The benefit of this approach is that all of the file and folder management features in DNN will just automatically use this new file storage location without you doing anything else. All of the upload and browsing features will function as if they were native (local) folders. However, under the covers, the files and folders live in the cloud location of your choosing. No development, workarounds, or hacks are necessary.
I hope this helps. :)
Can anybody help me clarify one thing? What details do you need to show when registering on Amazon? Is that safe to show your personal details like a postal address? I have stated all my information including zip code PostcodeFinder.net. Now I am worried it can be used somewhere. How did you register here? I would be very interested to learn this information from the real users. Thanks a lot.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.