Title: [Plugin: Magic Fields] Retriving image width and height
Last modified: August 21, 2016

---

# [Plugin: Magic Fields] Retriving image width and height

 *  [brian914](https://wordpress.org/support/users/brian914/)
 * (@brian914)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-magic-fields-retriving-image-width-and-height/)
 * I am using Magic Fields and am getting images via
    echo get_image(‘featured_image_file’);
 * In order to set the container width, I would like to get the width of the image.
   Something similar to wp_get_attachment_image_src. How can I do this?
 * Thank you!

The topic ‘[Plugin: Magic Fields] Retriving image width and height’ is closed to
new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [brian914](https://wordpress.org/support/users/brian914/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-magic-fields-retriving-image-width-and-height/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
