Advertisement
Guest User

Untitled

a guest
Feb 27th, 2012
602
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1. $images = get_post_meta($post->ID, 'ecpt_repeatable', true);
  2. if($images) :
  3.     foreach($images as $image) :
  4.         echo '<a href="' . $image . '" rel="lightbox"><img src="paht/to/timthumb/timthumb.php?src=' . $image . '&h=100&w=200&zc=1" class="project-image"/></a>';
  5.     endforeach;
  6. endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement