Avatar Upload

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/29/2009 10:57:53 AM
Gravatar
Total Posts 115
mojoPortal Community Expert

Avatar Upload

Joe

I have noticed a few post where you have stated that you developing an avatar upload for users of the site to upload their own avatars. This is a feature that allot of my users have asked for, because many do not want to use the Gravatar system. Is this feature something you are currently working on? I know that you have many item to work both for income and for mojoPortal. I have also been working on a feature to let users upload their own images. If this would be a help to you I would gladly continue work on it and submit it to be part of the project.

I think mojoPortal is great project and have been very impressed with it in the 6 months I have been using it. In my opinion much better then DNN or CS and I would love to contribute to the project in someway with development. Plus it will be a great way to help a fellow NC developer. Please let me know.

 

Also just bought you a beer, hope you enjoy it.

5/29/2009 11:21:21 AM
Gravatar
Total Posts 18439

Re: Avatar Upload

Hi Aaron,

Thanks for the beer!

If you'd like to submit it and are willing to contribute it under the CPL, then I'll certainly agree to review it for inclusion.

I would build it so that it stored the images at /Data/Sites/[SiteID]/useravatars/

and name the images using siteUser.UserGuid.ToString() + ".png"

Then we would only need a new bit column on the user table where we would keep track of whether the user has uploaded an avatar or not so we can show a placeholder image if not. I could do that part easy enough.

Ideally it would resize the uploaded image according to setttings, you could just use Web.config settings for now for width and height and I could later optionally make site settings for those preferences. There is already an ImageHelper class that I think can do the resizing.

Something else that just came on my radar in relation to this is that the new version of google gears has some functionality that can be used to upload images by drag and drop and easily create thumbnails. Wouldn't want to require google gears for it to work but its something that could be layered on top later so that if gears is installed the user can have a better experience. Just and idea for a cool future enhancement.

Best,

Joe

 

You must sign in to post in the forums. This thread is closed to new posts.