Having a problem all of a sudden retrieving a custom thumbnail image using types_render_field. Here is the code:
<?php echo(types_render_field('product-photo', array( 'size' => 'printables-thumb'))); ?>
This currently works until I update the post within WP in any way. Once I update the post, it renders the full size image instead of the custom thumbnail. If I change the 'size' to the default 'thumbnail' thumbnail size it works. I noticed that there are versions of the the WP standard thumbnail sizes on the server with "wpcf" added to the filename, so that may be why they work but not the custom thumbnails. Here is how the code renders on the page before I update the post and then after:
<img width="208" height="270" src="https://www.website.com/wp-content/uploads/2013/07/Videos-Sample-208x270.jpg" class="attachment-printables-thumb" alt="" style="" title="">
<img alt="https://www.website.com/wp-content/uploads/2013/07/Videos-Sample.jpg" title="https://www.website.com/wp-content/uploads/2013/07/Videos-Sample.jpg" class="attachment-printables-thumb" src="https://www.website.com/wp-content/uploads/2013/07/Videos-Sample.jpg">
This may correspond with an update of the plugin to the latest version. Also, this happens on the live site, but doesn't seem to happen on my staging version.