It would be very useful if the custom fields options in the user profile module could include an image upload field (Simular to the one in Flexinode)

Using this multiple images could be added to a users profile. This would be very useful for community applications dating websites e,t,c.

Add new field

  • single-line textfield
  • multi-line textfield
  • checkbox
  • list selection
  • freeform list
  • URL
  • date
  • *** image ***
  • Comments

    Egon Bianchet’s picture

    Version: 4.7.0-beta4 » x.y.z
    Status: Needs review » Active
    sangamreddi’s picture

    Looks like a good option.

    scroogie’s picture

    One of the custom nodetype modules like flexinode or CCK should be core, and profile should use these to generate its fields. This problem and many others would then be solved.

    LAsan’s picture

    Version: x.y.z » 7.x-dev

    Any thoughts about this?

    Feature request moving to cvs.

    maheshvanneldas’s picture

    Issue tags: +default.profile with image field
    StatusFileSize
    new18.49 KB

    Hello

    I am newbie to the drupal 6.0

    I tried to add the image field to the Profile module. If anybody go through the code and test the same. I have tested it on my end its working fine.

    This is the whole profile module, we have to replace original profile module with the attached profile.zip.

    kusiwa’s picture

    Very nice but i get this problem

    user warning: Table '444fg_drupal.profile_images' doesn't exist query: select fid, uid, user_type, filename, filepath, filemime, filesize, status, img_order, timestamp from profile_images where fid = '383' in /var/www/vhosts/learnoverip.com/httpdocs/en/modules/profile/profile.module on line 559.

    What can I do? I am a total noob without any oho knowledge

    maheshvanneldas’s picture

    Hi kusiwa,

    Try to implement on test server first once your confident then only install it on the live website.

    Before installing the new modified profile module, you need to uninstall the old profile module and then install the new module. This add a new table "profile_images" to the database.

    If this doesn't solves the problem then you can manually create the table and here the sql query for table creation is

    CREATE TABLE `profile_images` (
    `fid` int(11) unsigned NOT NULL auto_increment,
    `uid` int(11) default NULL,
    `user_type` varchar(150) default NULL,
    `filename` varchar(255) default NULL,
    `filepath` varchar(255) default NULL,
    `filemime` varchar(150) default NULL,
    `filesize` int(10) unsigned default NULL,
    `status` tinyint(1) default NULL,
    `img_order` int(4) default NULL,
    `timestamp` int(10) default NULL,
    PRIMARY KEY (`fid`),
    KEY `uid` (`uid`,`status`,`img_order`,`timestamp`)
    )

    kusiwa’s picture

    It works very well!!!!

    But in the panel module i get this:

    Foto
    388

    Look at here: http://learnoverip.com/en/user/11

    Why is there a number instead of the foto?

    marklein’s picture

    I have created a profile field image, i can see in user´s profile but don´t use and can´t see in views.... I see in view type user other profile fields but type image don´t see.

    Sorry for my bad english.

    Help!

    marklein’s picture

    Version: 7.x-dev » 6.10

    How i can integrate in views?

    hugafish’s picture

    Yes I am wanting this as well to have users place their banner ads to their profiles for others to see as well as bypassing the email me a banner issue. I can just grab the banner as an administrator and place it anywhere I want on my site. This would be a definite improvement to the standard profile module and Drupal as a whole. Does the Zip file in post #5 work for a site not using panels, just the standard profile module? Post #8 talks about errors with panel module, is this required? Also it would be great if there were settings to limit the file size and width x height params, does this module allow for that? I am aware of setting the general and roles restrictions to file uploads etc. However this module should have it's own set of rules for this. I want large banners on the custom profile tabs but not on the basic avatar uploads etc.

    Eric

    a_c_m’s picture

    You might be interested in http://drupal.org/project/profile_pictures (but make sure you get the beta)

    hugafish’s picture

    Thanks a_c_m , I'll give it a look over. Right now I am using both Content Profile and the default profile module so until I figure out how to make content profile all cool looking I will offer best for both that I am able to.

    Eric

    damien tournoud’s picture

    Version: 6.10 » 7.x-dev
    Status: Active » Closed (won't fix)

    6.x is not open to feature request. For Drupal 7 onward, the profile

    module is obsolete. Won't fix.

    dewancodes’s picture

    Thanks a lot for this module. It works fine for me.

    sanjay chauhan’s picture

    StatusFileSize
    new18.35 KB

    just go through this module it works fine for attaced image in profile module???/