Hi,

I have started today to investigate the issue XX-5536 - Allow users to 
upload a picture to their profile. I have some questions/proposals:
 - I considered that the upload image option should appear on user 
portal My Information page. I have designed the new UI for this page( 
http://track.sipfoundry.org/secure/attachment/20628/avatar.jpg);
 - I believe we should store the uploaded images on server, with the 
name generated from the user ID(using the hash generating algorithm 
available on http://en.gravatar.com/site/implement/java);
 - I searched on sipx code  and found that an image 
service(InternalImageService) is already implemented and I hope to use 
it for locating the avatar on server;
 - I believe that it's not necessary to store any information into DB 
about the relation between user and the image name, because the image 
stored on server will have an unique name generated by the hash algorithm;
 - If this new avatar section would appear on user portal, then it 
should be done using GWT(?);
 - A resize of the image should be done if the image is too big(should 
be resized to a few kB);
 - What would be the location on server where the images would be stored?
 - I didn't exactly understand the Peter's comment: "The user can/would 
use their XMPP based IM client (connected to OpenFire) to manage their 
picture (Avatar). SipX should access the same Avatar (file) for 
viewing/updating purposes. ". Should this avatar be the same as the 
image used in XMPP?

Thanks,
 Cosmin.
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to