Buddypress Xprofile Custom Fields Type
[resolved] Image Upload Issue (4 posts)

  1. hornets2002
    Posted 3 years ago #

    Hi, I love your plugin!

    It allows me to really take my buddypress installation and user interactivity to the next level :-)

    I'm just having a few problem though, and I was wondering if it is a bug in the added image upload field or a problem on my side.

    1. When I add an image upload field it displays two image upload buttons instead of one. Here is a screenshot of the issue: http://i.imgur.com/LnQjLMz.png

    2. When I upload let's say a really large image, after I save it and the edit page refreshes, the preview thumbnail on the screen displays the actual size. In terms of a cropping option, that is not necessary in my case because I use css to accomplish that when I display the user image. But the preview thumbnail needs to be sized down. Here is the screenshot: http://i.imgur.com/6AFmf7H.png

    Besides the problems I'm having with this particular field, I'm really impressed with what you have created! Thanks in advance for the help


  2. donmik
    Plugin Author

    Posted 3 years ago #



    1. I don't know why in your administration you are seeing two fields. It's weird. I try to add more than one image field in my test website but I cannot reproduce this error.

    2. You need to show a thumbnail instead the original image, no? I believe there is no thumb created when uploading the image with my plugin, so for now I'm afraid that we can only show the original image.

    I think I cannot help you much. Sorry...

  3. hornets2002
    Posted 3 years ago #

    I have solved both problems

    1. The duplicate upload button was my fault. I had originally (before the recent update) tried to follow the tutorial here for adding an upload image field: http://alextheafrican.wordpress.com/2012/03/10/how-to-add-an-image-field-to-buddypress-extended-profile-fields/

    When I saw that you added this option, I attempted to undo the code I had added but accidentely left some of it in functions.php. Now that I have deleted it, everything works great!

    2. I was able to accomplish sizing down the original image through css modifications. This is what I used:

    .editfield.field_blog-featured-image img {
    width: 110px;

    Thanks again for this wonderful plugin :-)

  4. donmik
    Plugin Author

    Posted 3 years ago #

    I'm glad you solved your problems ;)

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Buddypress Xprofile Custom Fields Type
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic