0

Drupal 7.

I have a site where users can upload a picture of themselves (default Drupal field: user picture.) This field is used in different views.

I would like to use the User Picture Field module and use the field provided by the module instead of the default Drupal user picture field.

Switching fields in the views is a simple operation and it works well with newly uploaded pictures. However, with pictures uploaded before the installation of the module, the pictures displayed are no longer the users' pictures but the default "no photo" image.

Is there a way to have the (older) photos of the default user picture field transferred to (or at least displayed by) the new field?

Thanks. :)

1 Answer 1

1

I think the easiest way would be to do it at the database level. Copy the old field contents into the new field.

1
  • I guess it is done be referring to the file id (fid) and you could try to replace those 1:1 Dec 23, 2014 at 19:11

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.