Added a new gem (paperclip) to manage the profile picture
Updated the person form with a file field and a javascript function to preview the selected image
Changed the old profile_picture helper to the ones provided by the gem
Screenshots
Test
Added test to verify the correct upload and view of the image
Deployment
No
Warnings
This is the first PR needed to resolve the issue, it adds a profile image as @voodoorai2000 requested here
:warning: This PR shouldn't be merged, its only the first one of five and each one will be built form the previous one. It's intended to split and clarify the total solution for the issue wich is pretty big and complicated to be in a single PR :warning:
Coverage increased (+0.08%) to 91.444% when pulling e22dfdd282a7e0b6bb3ba74aa36110f1bdff4841 on wairbut-m2c:add_profile_picture_to_person into 1e0ffeb30d1bb8db07b2daa6278927e91bda9c72 on AyuntamientoMadrid:master.
Where
What
How
Screenshots
Test
Deployment
Warnings