Changeset f0e64eb in OpenWorkouts-current for setup.py


Ignore:
Timestamp:
Feb 15, 2019, 11:00:35 AM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
0fa21cd
Parents:
eb20dc8
Message:

(#51) Fixed profile images were too big:

  • Added new dependency (Pillow)
  • Modified the user profile picture view. Now it accepts a GET parameter (size) telling the size of the image we want. Only one value is needed, the code will scale the image appropiately.
  • Modified the dashboard, profile and edit_profile templates to ask for a smaller version (200px) of the user profile picture.

IMPORTANT: Ensure you install Pillow in any existing environments after pulling:

pip install Pillow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    reb20dc8 rf0e64eb  
    3131    'pytz',
    3232    'fitparse',
    33     'splinter'
     33    'splinter',
     34    'Pillow'
    3435]
    3536
Note: See TracChangeset for help on using the changeset viewer.