Title: image resize code
Last modified: August 20, 2016

---

# image resize code

 *  [broadleon](https://wordpress.org/support/users/broadleon/)
 * (@broadleon)
 * [14 years ago](https://wordpress.org/support/topic/image-resize-code/)
 * Hi everyone
 * Could somebody help with this code I have? This code below resize’s the image
   and stores it /uploads/et_temp to save on page loading time.
 * [Pastebin](http://pastebin.com/HzgQ7rnB)
 * How do I apply that to this code?
 *     ```
       <div id="authorblock3" class="post2">
       <?php $Thumbnail_Two = get_post_meta($post->ID, 'Thumbnail_Two', TRUE); ?>
       <?php if($Thumbnail_Two) { ?><img src="<?php echo $Thumbnail_Two; ?>" width="65" height="55" alt="<?php the_title_attribute(); ?>" /><?php } ?>
       				</div>
       ```
   
 * If anybody knows how to minify the top code so it is similar to the bottom code,
   but obviously doing the same function that would be great.

The topic ‘image resize code’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [broadleon](https://wordpress.org/support/users/broadleon/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/image-resize-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
