Use https when necessary
Use https when necessary
remove newline (added by github)
create/use main api functions
Merge pull request #207 from uppa/fix.pixlr

Fix pixlr : use https when needed