Title: validating a image
Last modified: August 21, 2016

---

# validating a image

 *  [sabresdating](https://wordpress.org/support/users/sabresdating/)
 * (@sabresdating)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/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>

Viewing 1 replies (of 1 total)

 *  [sumanbajaj123](https://wordpress.org/support/users/sumanbajaj123/)
 * (@sumanbajaj123)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/validating-a-image/#post-4462591)
 * I am also getting the same problem.

Viewing 1 replies (of 1 total)

The topic ‘validating a image’ is closed to new replies.

## Tags

 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [sumanbajaj123](https://wordpress.org/support/users/sumanbajaj123/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/validating-a-image/#post-4462591)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
