Support

Account

Home Forums Add-ons Gallery Field bfi_thumb does not work in the gallery

Unread

bfi_thumb does not work in the gallery

  • <?php $carousel = get_field('slaider-header'); if ($carousel):?>
    <?php foreach( $carousel as $image ): ?>
    <img src="<?php bfi_thumb($image['url'],array('width'=> 847,'height' =>300));?>" alt="<?php echo $image['alt']; ?>"/>
    <?php endforeach; ?>
    <?php endif; ?>

    place of picture, output:

    <img src="" alt="">

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.