[geeklog-devel] Geeklog - Oauth User Images

Tom websitemaster at cogeco.net
Sat Nov 2 15:32:24 EDT 2013

I fixed a small bug in the OAuth user creation for services like Google that
return a https link to an image for us to retrieve for a new user.

While working on the bug I realize that when we retrieve the OAuth user
photo we completely ignore the Geeklog config options for max photo width,
height and size (we always have).


I am not up really on image manipulation in PHP but I took a quick look at
the photo upload for a normal user account and saw that it is built into the
upload class. At some point this needs to be fixed. We should probably
remove the image manipulation stuff from the upload class (it should just
deal with uploading) and include an image manipulating class that can be
used both by the upload class and Oauth class (along with anything else that
needs it).


geeklog-devel mailing list
geeklog-devel at lists.geeklog.net

More information about the geeklog-devel mailing list