Pre-loaded Images

0
Hi Guys, I'm stuck and wondered if you guys could tell me how to go about setting up a new user with a default image. The idea being I create the new user and associate that new user with a default picture. The user there thereafter upload a picture of there own to use. I have a prepared image to use:   I have a microflow to create the new user and image:   What I don't know how to do is set the PlayerImage to point to my default icon prior to loading the page? Can anyone tell me what I need to do next?  
asked
3 answers
1

You can set the default image on the Image viewer.

By doing this, the image viewer will display this, when no image is uploaded. By doing this, it isn't necessary to set a default image per image object.

answered
0

The mistake you make is that the user_icon is an image to use on forms and can not be used as an image inside your database. The way to go is by creating an image object and attach that object to a setting object you can reach at your frontend as admin. This way you can upload the standard image as admin that will be used by every new Player. Now when creating the new player retrieve the image and then copy that image (with the community commons actions DuplicateImageDocument to copy the content of the standard image to the NewPlayerImage and you are done.

Regards,

Ronald

 

answered
0

Thanks Guys - brilliant answers.

Just what I needed to know! :)

answered