Title: Simple Post Thumbnails USAGE CODE
Last modified: August 19, 2016

---

# Simple Post Thumbnails USAGE CODE

 *  Resolved [intricateartist](https://wordpress.org/support/users/intricateartist/)
 * (@intricateartist)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/simple-post-thumbnails-usage-code/)
 * `<img alt="<?php the_title(); ?>" src="<?php echo p75GetThumbnail($post->ID, 
   null, null); ?>" border="0" />`
 * [http://wordpress.org/extend/plugins/simple-post-thumbnails/](http://wordpress.org/extend/plugins/simple-post-thumbnails/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Paul Tocknell](https://wordpress.org/support/users/globalflyer/)
 * (@globalflyer)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/simple-post-thumbnails-usage-code/#post-1186008)
 * That’s great. Now, how do I add the
 *     ```
       if ( p75HasThumbnail($post->ID) ) {
       		p75GetOriginalImage($post->ID);
       	}
       ```
   
 * Variable to that?
 *  [Paul Tocknell](https://wordpress.org/support/users/globalflyer/)
 * (@globalflyer)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/simple-post-thumbnails-usage-code/#post-1186010)
 * Never mind. I figured it out:
 * `<img alt="" src="<?php if ( p75HasThumbnail($post->ID) ) { echo p75GetThumbnail(
   $post->ID, 150, 150); } ; ?>" style="float:left;margin:0 5px 0 0;" border="0"/
   >`
 * This will return an image only if there is one and resizes the thumbnail to 150
   ×150. I also took out the alt because it looked weird when there wasn’t a thumbnail
   having the title below the title.
 *  [vegasrenie](https://wordpress.org/support/users/vegasrenie/)
 * (@vegasrenie)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/simple-post-thumbnails-usage-code/#post-1186063)
 * which file does this go into? timthumb or thumbnail-poster?
 *  [Treebeard](https://wordpress.org/support/users/malawimama/)
 * (@malawimama)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/simple-post-thumbnails-usage-code/#post-1186073)
 * YES!! Finally a simple way to add the thumb if there is one. I couldn’t get the
   code on their site to work with my other plugins. Thanks GlobalFlyer!
 *  [obuzz](https://wordpress.org/support/users/obuzz/)
 * (@obuzz)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/simple-post-thumbnails-usage-code/#post-1186074)
 * Please, help me !!!
 * On Which file i should put the code:
 * <img alt=”<?php the_title(); ?>” src=”<?php echo p75GetThumbnail($post->ID, null,
   null); ?>” border=”0″ />
 * <img alt=”” src=”<?php if ( p75HasThumbnail($post->ID) ) { echo p75GetThumbnail(
   $post->ID, 150, 150); } ; ?>” style=”float:left;margin:0 5px 0 0;” border=”0″/
   >
 * ???????
 * I’m new on wordpress =( !
 *  [furyeffect](https://wordpress.org/support/users/furyeffect/)
 * (@furyeffect)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/simple-post-thumbnails-usage-code/#post-1186078)
 * Please help. I’m having the same problem.
 * I don’t know where to go/which file/how to add the lines per this instruction:
 * 4. Add the `p75GetThumbnail(int $postID, [int $width, [int $height, [string $
   fileType]]])` function to your theme to get the URL of a thumbnail and `p75GetOriginalImage(
   int $postID)` to get the URL to the original image.
 * Thank you.
 *  [tommydamani](https://wordpress.org/support/users/tommydamani/)
 * (@tommydamani)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/simple-post-thumbnails-usage-code/#post-1186088)
 * come on guys you come here for help but once you found the help and fixed your
   own problem you disappear.. not a good team spirit
 * please tell us how to insert this code? my thumbs are not showing up on the Press75
   Video Elements theme v. 1.5 posts!!
 * The images are showing up with the ‘related videos’ but not on the home page!
 * How do we fix?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Simple Post Thumbnails USAGE CODE’ is closed to new replies.

 * 7 replies
 * 7 participants
 * Last reply from: [tommydamani](https://wordpress.org/support/users/tommydamani/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/simple-post-thumbnails-usage-code/#post-1186088)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
