fix(avatars): integrate the profile images backend

We shouldn't merge this before the dev backend is ready: https://github.com/dannycoates/fxa-dev/issues/24.

Fixes #1556.
Yes: I had to lower the quality of uploaded pics because of the server size
limit. Even after cropping and resizing they tended to be larger. I could
just make the can pics the same since it probably won't make a noticeable
difference.
On Sep 11, 2014 10:51 AM, "Shane Tomlinson" <notifications@github.com>
wrote:

> In app/scripts/views/settings/avatar_crop.js:
>
> >    'lib/session',
> >    'lib/cropper',
> >    'lib/auth-errors'
> >  ],
> > -function (p, _, FormView, Template, Session, Cropper, AuthErrors) {
> > +function (p, _, FormView, Template, Constants, Session, Cropper, AuthErrors) {
> > +  var UPLOAD_JPEG_QUALITY = 0.8;
>
> here
> <https://github.com/mozilla/fxa-content-server/pull/1584/files#diff-e8bcfe428107ce33dbc222423506acd2R24>
> you use a quality factor of 0.9, is the difference intentional?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mozilla/fxa-content-server/pull/1584/files#r17436277>.
>