Title: Customizer API: Image Settings
Last modified: June 5, 2017

---

# Customizer API: Image Settings

 *  Resolved [cgfx360](https://wordpress.org/support/users/cgfx360/)
 * (@cgfx360)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/customizer-api-image-settings/)
 * I recently started toying with the WordPress Customizer API. All is going pretty
   well, I managed to add an option so set the background image for a section on
   my theme (using WP_Customize_Image_Control). However, I’ve run into a bit of 
   trouble trying to figure out how to add display options.
 * What I mean is, on the default WordPress “Background Image” section, after you
   upload a image it comes up with options for whether or not to repeat the background,
   positioning, etc. Like So:
    ⌊WordPress Background Image Settings⌉
 * I’m trying to figure out how exactly to display these options on my own custom
   background setting. Does anyone know where to start on this?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [8 years, 11 months ago](https://wordpress.org/support/topic/customizer-api-image-settings/#post-9199358)
 * Hi [@cgfx360](https://wordpress.org/support/users/cgfx360/)
 * I’m not sure if you have looked at this post: [https://make.wordpress.org/themes/2015/05/07/customizer-tutorials-and-documentation/](https://make.wordpress.org/themes/2015/05/07/customizer-tutorials-and-documentation/)
 * It does provide a few links as well.
 * I do know that section is several settings ( theme_mods ). You can find it here:
   [https://core.trac.wordpress.org/browser/tags/4.7.5/src/wp-includes/class-wp-customize-manager.php#L3992](https://core.trac.wordpress.org/browser/tags/4.7.5/src/wp-includes/class-wp-customize-manager.php#L3992)
 * Hope that helps!
 *  Thread Starter [cgfx360](https://wordpress.org/support/users/cgfx360/)
 * (@cgfx360)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/customizer-api-image-settings/#post-9213898)
 * Thanks for this! I had seen the core WordPress code for the settings before but
   they were much more helpful upon a second look.
 * I sadly never was able to get the “Image Position” selector to really work, but
   otherwise everything has gone pretty well.
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Customizer API: Image Settings’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [cgfx360](https://wordpress.org/support/users/cgfx360/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/customizer-api-image-settings/#post-9213898)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
