masques icon indicating copy to clipboard operation
masques copied to clipboard

Avatar for profiles

Open tedstein opened this issue 12 years ago • 3 comments

  1. Copy avatar file to directory inside of masques root.
  2. Store path in file table, and link it to profile table.
  3. Load avatar path every time profile is loaded.

Eventually we will need:

  1. Resize/crop image as appropriate.

tedstein avatar Sep 28 '13 16:09 tedstein

2 and 3 are done. Now looking into copying the file.

tedstein avatar Sep 29 '13 15:09 tedstein

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

tedstein avatar Oct 04 '13 17:10 tedstein

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

tedstein avatar Mar 30 '14 17:03 tedstein