<?php if ( has_post_thumbnail()) { $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'THUMB SIZE'); echo '$large_image_url[0]'; } ?>
Outputing Thumbnail URL WordPress
June 4th, 2014 by Marcos Nobre
Replace the “THUMB SIZE” with the thumb size category name you want to output.