Title: Get Image on Post Using Custom Fields
Last modified: August 20, 2016

---

# Get Image on Post Using Custom Fields

 *  [cloudstr210](https://wordpress.org/support/users/cloudstr210/)
 * (@cloudstr210)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/get-image-on-post-using-custom-fields/)
 * Hello, Thanks for viewing my thread!
 * I just want to know how to get the Image of the post and display it on the archive?
 * Currently my theme use timthumb to generate thumbnail and I want to eliminate
   it permanently.. My theme supports custom field named “thumb” so you can customize
   the thumbnails.. My question is how to call it on archive?
 * Currently the code on my archive.php is this: (using timthumb)
 * 
 * How to change it so it will use the custom field “thumb” instead using the timthumb?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Thread Starter [cloudstr210](https://wordpress.org/support/users/cloudstr210/)
 * (@cloudstr210)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/get-image-on-post-using-custom-fields/#post-2414162)
 * sorry.. forgot to use code block:
 * the code again..
 *     ```
       <a href="<?php the_permalink() ?>" rel="bookmark"><img src="<?php bloginfo('template_directory'); ?>/includes/timthumb.php?src=<?php get_thumbnail($post->ID, 'full'); ?>&h=100&w=100&zc=1" alt="<?php the_title(); ?>" /></a>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Get Image on Post Using Custom Fields’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [cloudstr210](https://wordpress.org/support/users/cloudstr210/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/get-image-on-post-using-custom-fields/#post-2414162)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
