Title: KD's Replies | WordPress.org

---

# KD

  [  ](https://wordpress.org/support/users/kkdevta/)

 *   [Profile](https://wordpress.org/support/users/kkdevta/)
 *   [Topics Started](https://wordpress.org/support/users/kkdevta/topics/)
 *   [Replies Created](https://wordpress.org/support/users/kkdevta/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/kkdevta/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/kkdevta/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/kkdevta/engagements/)
 *   [Favorites](https://wordpress.org/support/users/kkdevta/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [update attachment metadata with new dimensions after image_resize_dimenstion](https://wordpress.org/support/topic/update-attachment-metadata-with-new-dimensions-after-image_resize_dimenstion/)
 *  Thread Starter [KD](https://wordpress.org/support/users/kkdevta/)
 * (@kkdevta)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/update-attachment-metadata-with-new-dimensions-after-image_resize_dimenstion/#post-9446237)
 * That makes a lot of sense! thank you for pointing me at the right direction.
   
   Highly appreciate the help. (:
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [update attachment metadata with new dimensions after image_resize_dimenstion](https://wordpress.org/support/topic/update-attachment-metadata-with-new-dimensions-after-image_resize_dimenstion/)
 *  Thread Starter [KD](https://wordpress.org/support/users/kkdevta/)
 * (@kkdevta)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/update-attachment-metadata-with-new-dimensions-after-image_resize_dimenstion/#post-9442772)
 * Thanks for the response bcworkz,
 * Actually I checked the database and has correct updated values stored. however,
   when I use the_post_thumbnail(‘normal’), it pulls up the size either as 101 height
   or 102 width (maintaining the aspect ratio). Why does this happen?
 * Right now I am using wp_get_attachment_metadata() which gets me the correct sizes
   along with wp_get_attachment_image_src()
 * ( I am building a theme and do regenerate thumbnails but the issue persists even
   on the images uploaded after)
    -  This reply was modified 8 years, 8 months ago by [KD](https://wordpress.org/support/users/kkdevta/).

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