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 1 year 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 11 months ago #

  3. ShokAIM
    Member
    Posted 9 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 ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic