Hi Bigul,
Thanks for the link and reply. However I am still having an issue.
When i use this call
<?php echo(types_render_field("sidebar-image", array("size"=>"side-thumb"))); ?>
I can get the IMG tag output without the div markup. When I try to add a class using this call …
<?php echo(types_render_field("sidebar-image", array("size"=>"side-thumb", "class"=>"side-thumb"))); ?>
the IMG tag is output with the additional DIV markup ( below ).. is this a bug or am I missing something – I am using Types – Complete Solution for Custom Fields and Types – Version 1.1.3.4
<div id="wpcf-field-sidebar-image-2" class="wpcf-field-image wpcf-field-sidebar-image">
<div class="wpcf-field-value wpcf-field-image-value wpcf-field-sidebar-image-value">
<img width="336" height="229" src="wp-content/uploads/2013/03/myimage.png" class="attachment-side-thumb side-thumb" alt="" style="" title="" />
</div>
</div>
Again any help appreciated, thanks