• Resolved John

    (@jhob)


    The site I’m working on has a load of images uploaded to each member profile via an xprofile image field. The image field has been added with the BuddyPress Xprofile Custom Field Types plugin.

    The issue I have is that these images can be quite large and they don’t go through the wordpress core image resizing on upload, or appear in the media library.

    Is there a way of getting these images to be resized to the ‘thumbnail’, ‘medium’ sizes etc?

    thanks,
    John

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brajesh Singh

    (@sbrajesh)

    Hi John,
    Thank you for using the plugin.

    The sizes are created when a media is stored as attachment post type(and their meta data is generated).

    In our case, we use standard WordPress uploads using ‘wp_handle_upload()’ but do not create an attachment post type entry for the media.

    If you need, you will have to use the actions/filters offered by wp_handle_upload() to generate other sizes. You can create attachment post if you need but you will have to manage field data actions synchronization by yourself.

    Regards
    Brajesh

    Thread Starter John

    (@jhob)

    Hi Brajesh,

    Thanks for that – I think I know where I’m going with this now.

    Cheers

    John

    Plugin Author Brajesh Singh

    (@sbrajesh)

    You are welcome. Marking resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Resized versions of images uploaded in xprofile image field’ is closed to new replies.