• Resolved leftofcentre

    (@leftofcentre)


    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

    https://www.ads-software.com/extend/plugins/wpematico/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Any solution for image link on WPMU?
    the files URL is not the same as files location.

    Plugin Author etruel

    (@etruel)

    Thats welcome
    thankyou Brian! ??

    Thread Starter leftofcentre

    (@leftofcentre)

    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 ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WPeMatico] Read this if you want large images’ is closed to new replies.