WordPress.org

Ready to get started?Download WordPress

Forums

BJ Lazy Load
[resolved] Add BJ Lazy Load on Post Meta Images (3 posts)

  1. halluzineyt
    Member
    Posted 11 months ago #

    How do you add BJ Lazy load on post meta called images?
    <img src="<?php $values = get_post_custom_values("thumbnail"); echo $values[0]; ?>" style="width:190px;height:125px" border="0" alt="" />

    Like this one?

    http://wordpress.org/extend/plugins/bj-lazy-load/

  2. Bjørn Johansen
    Member
    Plugin Author

    Posted 8 months ago #

  3. ShokAIM
    Member
    Posted 6 months ago #

    I have the same question... and adding the filter like

    <?php
    $img = '<img src="<?php $values = get_post_custom_values("thumbnail"); echo $values[0]; ?>" style="width:190px;height:125px" border="0" alt="" />';
    if ( class_exists( 'BJLL' ) ) {
        $img = BJLL::filter( $img );
    }
    echo $img;
    ?>

    dosent work , any other way ?

Reply

You must log in to post.

About this Plugin

About this Topic