I am using facebook all plugin and user-photo plugin for front end upload.
The facebook all plugin piks the profile picture from the facebook. but in my edit profile page i am using
userphoto_thumbnail($current_user->id)this code for getting uploaded image. how to check if the facebook user image is there and display that image in the edit profile page. means facebook logged In user have the facebook image and how i will display that image with a if condition in this else default image must shown is it possible?
if(userphoto_exists($current_user)) userphoto($current_user->id); elseif //facebook image elseif //default image
- The topic ‘Image through facebook is not showing.’ is closed to new replies.