Title: add_image_size function not working (wp core function)
Last modified: August 21, 2016

---

# add_image_size function not working (wp core function)

 *  [chrsc](https://wordpress.org/support/users/chrsc/)
 * (@chrsc)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/add_image_size-function-not-working-wp-core-function/)
 * the add_image_size function is not working in wp 3.8.1
 *     ```
       // Add post thumbnails (http://codex.wordpress.org/Post_Thumbnails)
         add_theme_support('post-thumbnails');
       // Add custom image sizes (http://codex.wordpress.org/Function_Reference/add_image_size)
         // added in 3.5.2 and works
         add_image_size('isotope-portfolio', 760, 290, true);
         // added in 3.5.2 and works
         add_image_size('isotope-people-headshot', 180, 290, true);
         // added in 3.8.1 and doesn't work
         //add_image_size('portfolio-530', 0, 530, true);
         // Try changeing number to words in case this is the issue
         // This didn't work
         add_image_size('portfolio-five-thirty', 0, 530, true);
       ```
   
 * The custom sizes I added back in WP 3.5.2 work without issue, but the one I added
   after upgrading to 3.8.1 doesn’t work. I have tried uploading new images to the
   library, and I have tried using the Regenerate Thumbnails plugin.
 * Can anybody help with this issue?

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/add_image_size-function-not-working-wp-core-function/#post-4589399)
 * [https://wordpress.org/support/topic/theme-roots-add_image_size-function-not-working?replies=4](https://wordpress.org/support/topic/theme-roots-add_image_size-function-not-working?replies=4)
 * The add_image() function is working just fine. The issue is in your non-WPORG
   theme – as I have already explained.

Viewing 1 replies (of 1 total)

The topic ‘add_image_size function not working (wp core function)’ is closed to 
new replies.

## Tags

 * [add_image_size](https://wordpress.org/support/topic-tag/add_image_size/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [size](https://wordpress.org/support/topic-tag/size/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/add_image_size-function-not-working-wp-core-function/#post-4589399)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
