validating a image
-
hey I want to know how to make it a default that users will have to add there image
here is the code
please help
Mike`<aside class=”column threecol”><h2><?php _e(‘Picture (Step 2 of 4)’, ‘lovestory’); ?></h2><h2><?php _e(‘יש להעלות תמונת פרופיל כאן’, ‘lovestory’); ?></h2>
<h7><?php _e(‘עם תמונת פרופיל מקבלים יותר צפיות, יותר הודעות, ומראה שהפרופיל שלכם יותר רציני’, ‘lovestory’); ?></h7>
<div class=”profile-preview”>
<div class=”profile-image”>
<?php echo get_avatar(ThemexUser::$data[‘user’][‘ID’], 200); ?>
</div>
<div class=”profile-options clearfix”>
<form id=”formo” class=”upload-form” enctype=”multipart/form-data” method=”POST”>
<label for=”user_avatar” class=”button big”><?php _e(‘Add Photo(Step 2 of 4)’, ‘lovestory’); ?></label>
<input type=”file” id=”user_avatar” name=”user_avatar” class=”shifted” />
<input type=”hidden” name=”user_action” value=”update_avatar” />
<input type=”hidden” name=”nonce” value=”<?php echo wp_create_nonce(THEMEX_PREFIX.’nonce’); ?>” />
</form>
</div>
</div>
The topic ‘validating a image’ is closed to new replies.