WordPress.org

Ready to get started?Download WordPress

Forums

WPeMatico
[resolved] Read this if you want large images (4 posts)

  1. leftofcentre
    Member
    Posted 1 year ago #

    The plugin is great but it only pulls in the thumbnail version of the image. If you want the code change below it will pull in the large version of the photo.

    Find the file:
    campaign_fetch_functions.php

    Backup the file, in case you make a mistake. This is tested with version 1.

    add this line after line 259:
    $imagen_src = str_replace('_s.','_n.', $imagen_src);

    So the new section will read:
    }else {
    $imagen_src = str_replace('_s.','_n.', $imagen_src);
    $imagen_src_real = $this-getRelativeUrl($itemUrl, $imagen_src);

    This pulls in the large version of the facebook photo.

    If the developer reads this I think users would like to have the ability to grab the large photo, you might consider this change for new versions.

    Brian

    http://wordpress.org/extend/plugins/wpematico/

  2. Plasido
    Member
    Posted 1 year ago #

    Any solution for image link on WPMU?
    the files URL is not the same as files location.

  3. etruel
    Member
    Plugin Author

    Posted 1 year ago #

    Thats welcome
    thankyou Brian! ;)

  4. leftofcentre
    Member
    Posted 1 year ago #

    I see you changed the code. Just so users know the new way of doing it is to go to line 269 and remove the // from the start of the line:

    //$imagen_src = str_replace('_s.','_n.', $imagen_src); //Trae la imagen grande en vez del thumb

    So it reads
    $imagen_src = str_replace('_s.','_n.', $imagen_src); //Trae la imagen grande en vez del thumb

    Etruel, would you mind adding a large image option to the settings screen to make it easier to activate this option? I am sure other users want big images as well. Keep up the good work :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.