equal
deleted
inserted
replaced
50 |
50 |
51 foreach($attachments as $att_id => $attachment) { |
51 foreach($attachments as $att_id => $attachment) { |
52 $full_img_url = wp_get_attachment_url($attachment->ID); |
52 $full_img_url = wp_get_attachment_url($attachment->ID); |
53 echo '<div class="slide">'; |
53 echo '<div class="slide">'; |
54 ?> |
54 ?> |
55 <a href="#"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php echo $full_img_url; ?>&h=350&w=640&zc=1" title="" alt=""></a> |
55 <a href="#"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php echo get_image_path($full_img_url); ?>&h=350&w=640&zc=1" title="" alt=""></a> |
56 <?php |
56 <?php |
57 echo '</div>'; |
57 echo '</div>'; |
58 } //end foreach |
58 } //end foreach |
59 echo '</div>'; |
59 echo '</div>'; |
60 echo '</div>'; |
60 echo '</div>'; |