I want to make user’s profile pic as circle with border. Right now i am allowing user to pick picture form photo library or Capture from camera. But i don’t know to work this
Here is my photoComplete function
function onPhotoComplete(event)
if ( event.completed ) then
local paint = {
type = “image”,
filename = “images/bg.jpg” --“texture1.png”
}
centerUserRing.fill = paint
end
end
Can you suggest me how i can fill cenerUserRing with direct event.target ?