masques
masques copied to clipboard
Avatar for profiles
- Copy avatar file to directory inside of masques root.
- Store path in file table, and link it to profile table.
- Load avatar path every time profile is loaded.
Eventually we will need:
- Resize/crop image as appropriate.
2 and 3 are done. Now looking into copying the file.
To edit images: https://github.com/josephwilk/image-resizer To get the root masques path: user-data-directory in the config/db_config.clj file
Change avatar button for the profile:
- Use the src/masques/view/friend/send_friend_request.clj as an example.
- (defn load-mid-file-listener -- Example