• Resolved serbill

    (@serbill)


    Hi there,

    I saw the previews post about image resizing but I cant seem
    to make this work.

    I want to get the big image from facebook. I am at
    class-uki-facebook-wall-feed.php line 840

    function fb_fix( $str ) {
    $pos = strpos( $str, ‘safe_image.php’ );
    if ( $pos !== FALSE ) {
    parse_str( $str );
    $str = $url;
    }

    $result = ‘<img src=”‘ . htmlentities( $str, ENT_QUOTES, ‘UTF-8’ ) . ‘” alt=”‘ . __( ‘Facebook Picture’, JSL3_FWF_TEXT_DOMAIN );
    if ( isset( $w ) && isset( $h ) )
    $result .= ‘” width=”‘ . $w . ‘” height=”‘ . $h;
    $result .= ‘” />’;

    return $result;
    }

    It seems that everything I have done following the previews post doesn’t work. Can you please help me?

    https://www.ads-software.com/plugins/jsl3-facebook-wall-feed/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takanudo

    (@takanudo)

    You can modify the php to grab a larger image from Facebook by doing the following:

    1. Open ‘/wp-content/plugins/jsl3-facebook-wall-feed/php/class-uki-facebook-wall-feed.php’
    2. Line 852 is the following:
      return $result;
    3. Change it to the following
      return str_replace('_s', '_n', $result);
    4. Save the file
    Thread Starter serbill

    (@serbill)

    Just perfect!

    Take care

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘IMAGE SIZE’ is closed to new replies.