I'm having problem with my phaser view, it seems that the image is always 
pending i'm trying to get the image from a static folder in the node js 
server, this is a screen and the code above can you help me please ?


module.exports.GetImage = function(req,res){
        var img_name = req.params.name;
        res.sendFile(path.resolve("./kidAvatar/"+img_name));
}



<https://lh3.googleusercontent.com/-8WeXy_y8QAY/WH0G6IW_9iI/AAAAAAAAC-4/Zs9AP59gcqE2J7BsJiFoEtC-9p-jbcO6gCLcB/s1600/Screen%2BShot%2B2017-01-16%2Bat%2B17.48.46.png>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/959c9baf-7608-43d4-8890-829311be0c5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to