I'm in the middle of implementing a multisite setup. Each site will have it's own database, and files directory, but they will share the user table from the default database.

Because the profile picture field in the user table is set to a fid, am I right in thinking this will break a user picture if they look at their profile on a different site?

fid 26 might be their picture on the main site, but fid 26 in another site might be for a completely different image, or not even an image at all.

How do you normally address this issue?


1 Answer 1


You need a single sign on approach. You could implement your own approach just like this one https://drupal.org/node/1043724 or try to find some contribute module to handle it. Hope this help. Regards

  • Hi Enxebre. I have this part of it setup, so getting sso working and sharing users isn't the issue. What I'm struggling to understand is how the profile picture, or avatar will work across each of the sites. the single user table shared amongst each site is set with a fid, but because each site manages it's own files folder, and has it's own file_managed table, a fid from site 1 would point to a different file on site 2 etc. Sep 12, 2013 at 12:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.