Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 5th, 2011  |  syntax: None  |  size: 0.48 KB  |  views: 454  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2.  
  3. <?php /* The Portfolio Image*/?>
  4. <?php if (has_post_thumbnail()) { ?>
  5. <img src="<?php echo get_template_directory_uri(); ?>/js/timthumb.php?src=<?php echo thumb_url(); ?>&w=198&h=120&q=90&zc=1" alt="<?php the_title_attribute(); ?>"/>
  6. <?php } elseif (catch_that_image()) { ?>
  7. <img src="<?php echo get_template_directory_uri(); ?>/js/timthumb.php?src=<?php echo catch_that_image() ?>&w=198&h=120&q=90&zc=1" alt="<?php the_title_attribute(); ?>"/>
  8. <?php } else { ?>
  9. <?php } ?>
clone this paste RAW Paste Data