@Web
You must do several updates based on sigma theme.
In user-profile.php at top you first add required scripts.
if(osc_profile_img_users_enabled() == '1') {
osc_enqueue_script('cropper');
osc_enqueue_style('cropper', osc_assets_url('js/cropper/cropper.min.css'));
}
Then into form, you add:
<?php if(osc_profile_img_users_enabled()) { ?>
<div class="control-group">
<label class="control-label" for="name"><?php _e('Picture', 'sigma'); ?></label>
<div class="controls">
<div class="user-img">
<div class="img-preview">
<img src="<?php echo osc_user_profile_img_url(osc_logged_user_id()); ?>" alt="<?php echo osc_esc_html(osc_logged_user_name()); ?>"/>
</div>
</div>
<div class="user-img-button">
<?php UserForm::upload_profile_img(); ?>
</div>
</div>
</div>
<?php } ?>
Then, in item.php (as example) to show user picture you add:
<?php if(osc_profile_img_users_enabled()) { ?>
<p class="user-img">
<img src="<?php echo osc_user_profile_img_url(osc_item_user_id()); ?>" alt="<?php echo osc_esc_html(osc_item_contact_name()); ?>"/>
</p>
<?php } ?>