Home › Forums › ACF PRO › Image not displaying › Reply To: Image not displaying
I’m having the same issue, where the image is not displaying when adding the code into a hooks field in Dynamik Website Builder for Genesis.
The code I’m using is…
<div id="eline-home-slider" class="clearfix">
<div class="eline-home-slider-inner">
<?php $image = wp_get_attachment_image_src(get_field('slider_image'), 'full'); ?>
<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
</div>
</div>
Any thoughts or suggestions?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.