Does anybody understand how to take out the link to the look in wordpress so you can use it like a refrence within the script? I have to pull them dynamically. However, if I am using postimage() it pulls out this:

<a href="address">
<img width="300" height="300" src="image.png" class="image" alt="" title="LINKING"/>

I am only thinking about src. Does anybody understand how to pull it? Thx ahead of time

This can be used code informed:

$thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID));
echo $thumbnail[0];