Needs review
Project:
Facebook Connect
Version:
6.x-2.0-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2010 at 22:17 UTC
Updated:
20 Mar 2011 at 04:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
g000fy commentedI figured that out too. It seems fb has changed definition of picture sizes.
Normal is now 100px and large is 200px. I manually changed fbconnect.admin.inc to fix it.
Comment #2
alaugh commentedThanks g000fy. I really appreciate it. That did the trick. My next step is to now get the 200px size to display in user profiles when using Author Pane and Advanced Profile Kit. If you have any insight into this one, please let me know.
Thanks again for the response and help.
Comment #3
alaugh commentedThanks g000fy. I really appreciate it. That did the trick. My next step is to now get the 200px size to display in user profiles when using Author Pane and Advanced Profile Kit. If you have any insight into this one, please let me know.
Thanks again for the response and help.
Comment #4
ric_rac commentedi also have this problem... where you able to get the 200px wide image to display on profiles?
Comment #5
mrp40 commentedFrom http://developers.facebook.com/docs/reference/api/
As g00fy did above, I fixed the problem also by simply changing fbconnect.admin.inc:146 to
This then matches the API description... ie, removes "normal" altogether.
Once changed you will need to go to /admin/settings/fbconnect/apperance and set the default sizes again. Seems to be working for me now.
Comment #6
Anonymous (not verified) commentedPatch for this issue and some other tidying up. It was diffed against the current Github repo.
FBConnect uses Graph API to insert profile images. Graph API currently supports these 4 image types:
1. square - 50px x 50 px thumbnail
2. small - 50px wide, variable height
3. normal - 100px wide, variable height
4. large - 180px wide, variable height
(Large was previously 200px. Newly uploaded facebook profile images are supplied at 180px width, whilst older images remain at 200px width)
Changed some description text in the admin form to be non gender specific.
Facebook logo on user pic is not available using Graph API. Removed the Facebook Logo checkbox from admin form and $logo parameter in functions.
theme_fbconnect_user_picture_override () does not check for 'access user profiles' before providing a link to user profiles. This will result in access denied errors. Changed the way images are themed to use core functions, theme('image'...) and link l() after checking for permissions. Removed $user_url parameter in functions as this is now provided in the l() function.
Tested on Firefox, Chrome, IE, Safari and all seems to work as expected :)
ps: apologies for the three 'no newline at end of file' in the patch, some kind of bug I'm having with my version of git :(