Title: Magic Fields wp_size parameter
Last modified: August 20, 2016

---

# Magic Fields wp_size parameter

 *  [gzhmr](https://wordpress.org/support/users/gzhmr/)
 * (@gzhmr)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/magic-fields-wp_size-parameter/)
 * I’m trying to use the wp_size parameter for the get_image function but I cannot
   figure out what is the value that is supposed to be passed here. I’ve tried all
   sorts of combos and cannot get anything to work.
 * I need to have the image height/width inserted into the ‘img’ tag so I need to
   pull those values from the media library. I could use the php function getimagesize()
   but if there is a way built in to this plugin to retrieve it from the library
   I’d obviously like to use it. Can anyone give me any suggestions on how to pass
   this parameter to the get_image function?

The topic ‘Magic Fields wp_size parameter’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [gzhmr](https://wordpress.org/support/users/gzhmr/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/magic-fields-wp_size-parameter/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
