Profile photo must be a blob

Bug #333097 reported by Paul Everitt
2
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Chris Rossi

Bug Description

For the edit profile, the upload file for the photo should be stored as a blob.

Tags: edit-profile
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Chris, I'm considering have "profiles" be something you work on in M6 (next week). Provisionally assigning to you, more explanation to follow.

Changed in karl3:
importance: Undecided → Medium
milestone: none → m6
assignee: nobody → chris-archimedeanco
Changed in karl3:
status: New → In Progress
Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Some followup points:

- If someone hasn't uploaded an image, we need a way to know that and allow pointing at the fake shadow image. I presume the answer for that is, the ZPTs ask for profile.portrait_url and get handed back a None? They can then hold the policy for what image to point at.

Alternatively, we have put an adapter between the ZPT and the profile.

To see this in action, look at:

          derived['photo_url'] = 'admin_fakephoto.jpg' # XXX

in views/members.py.

- Handle the case of editing a profile with no existing image vs. an existing. Plone has the radio button box. We have one for KARL in toscawidgets, but haven't yet done one in newstyle with jquery. I think balazs is doing so in the next 24 hours for calendar event.

- Regarding scaling, AFAIK, KARL2 didn't do server-side scaling in any way. We should probably hold off on this an re-consider after Pycon.

Changed in karl3:
status: In Progress → Fix Committed
Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.