Title: Cropping Issue
Last modified: August 21, 2016

---

# Cropping Issue

 *  [Mika Kaltoft](https://wordpress.org/support/users/col323webdesign/)
 * (@col323webdesign)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/cropping-issue/)
 * Hey there,
 * Great plugin!
 * I have a cropping issue.
 * My code looks like this:
 * `<img src="<?php the_field('image'); ?>" class="img-circle" width="100px" height
   ="100px" alt="<?php echo get_the_title(get_field($image)); ?>"/>`
 * I tried to use this code to output a cropped version of my image:
 *     ```
       <?php $image = wp_get_attachment_image_src(get_field('imaget'), 'medium'); ?>
       <img src="<?php echo $image[0]; ?>" alt="<?php echo get_the_title(get_field('image')) ?>" />
       ```
   
 * However, nothing happened.
 * I would like to output the medium image size with width 100px and height 100px.
 * Can you help me out here? 🙂
 * Thanks,
    Mika
 * [https://wordpress.org/plugins/advanced-custom-fields/](https://wordpress.org/plugins/advanced-custom-fields/)

The topic ‘Cropping Issue’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Mika Kaltoft](https://wordpress.org/support/users/col323webdesign/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/cropping-issue/)
 * Status: not resolved