And So I am using AnythingSlider in Wordpress. For this reason I'm attempting to call the pictures in the original posts. Anything slider will configure thumbnail navigation such as this:

function formatText(index, panel) {
  return index + "";
}

$(function () {

    $('.anythingSlider').anythingSlider({
        navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
    });

});

As you can tell, the navigationFormatter will let me format the nav (including pictures) however want. For instance, to format pictures, I possibly could do that:

 navigationFormatter : function(i, panel){ // add thumbnails as navigation links
return '<img src="images/th-slide-' + ['civil-1', 'env-1', 'civil-2', 'env-2'][i - 1] + '.jpg">';

So my problem gets the wordpress slide images to exhibit available online for dynamically, instead of inside a folder (because the above example shows). For reference, this really is my php query that's tugging the posts image (from the script I have already written:

    <img class="slider-img" style="float:left;" src="<?php if(function_exists('wp_get_post_image')){ echo wp_get_post_image(array( 'return_html' => false, 'width' => 500 )); } ?>" />

I really hope this update helps. Thank everyone a lot. The Stack overflow community is excellent!

You should use exactly the same loop that's setting your anythingSlider content's LI to create a JS array after which echo it before your jQuery calls or using something similar to:

$thumbArrStr = "[";
foreach($yourThumbData as $k=>$v) {
    $thumbArrStr .= "'$v',";
}
$thumbArrStr = substr($thumbArrStr, 0, -1);
$thumbArrStr .= "]";
echo "var anythingSliderArr = $thumbArrStr;";

And today use anythingSliderArr:

navigationFormatter : function(i, panel){ // add thumbnails as navigation links
    return '<img src="images/th-slide-' + anythingSliderArr[i - 1] + '.jpg">';
}