Title: Fallback Image Doesn&#039;t Work
Last modified: August 30, 2016

---

# Fallback Image Doesn't Work

 *  [yesfree](https://wordpress.org/support/users/yesfree/)
 * (@yesfree)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/fallback-image-doesnt-work/)
 * I use this but still the fallback doesnt work…What am i doing wrong
 * <?php
    if($image_object = get_field(‘page_image’)){ $image_output = ‘<img src
   =”‘ . $image_object[‘sizes’][‘banner-large’] . ‘” />’; echo apply_filters(‘theme_banner_image’,
   $image_output); }else{ $image_output = get_bloginfo(‘template_directory’) . ‘/
   assets/img/noimage.jpg’; } ?>
 * [https://wordpress.org/plugins/picturefillwp/](https://wordpress.org/plugins/picturefillwp/)

The topic ‘Fallback Image Doesn't Work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/picturefillwp.svg)
 * [Picturefill.WP](https://wordpress.org/plugins/picturefillwp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/picturefillwp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/picturefillwp/)
 * [Active Topics](https://wordpress.org/support/plugin/picturefillwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/picturefillwp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/picturefillwp/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [yesfree](https://wordpress.org/support/users/yesfree/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/fallback-image-doesnt-work/)
 * Status: not resolved