I am currently using the following code to get the URL of the featured image of a wordpress post:
URL="<?php if (function_exists('wp_get_attachment_thumb_url')) {echo wp_get_attachment_thumb_url(get_post_thumbnail_id($post->ID), 'big-size'); }?>"
But the code only returns the smaller (150x150px) thumbnail. This is what I get:
http://sitename.com/wp-content/uploads/imagename-150x150.png
My question is, how do I get it to return the URL for the original image (full sized image) which would be:
http://sitename.com/wp-content/uploads/imagename.png
Many thanks for your time and help.