I have created a custom field for image with return value of image object;
http://screencast.com/t/nqvdJnvscU
I am uploading an image to that field in admin here:
http://screencast.com/t/ucodVNlD6s
I am inserting shortcode into post but it doesn’t pull the actual image object on front end, it just shows the shortcode still like this:
http://screencast.com/t/004qa6Rv8pLc
Can you please help me understand what I am doing wrong?
The standard ACF shortcodes are only meant for simple fields. If you set the image field to return the URL you could use a shortcode like
<img srd='[acf field="free_transportation_banner"]' />
To use more complicated return values in shortcodes you’d need to write your own shortcode functions.