Support » Plugin: FeedWordPress » Fetch linked images (from href)

  • Resolved Arno Kools

    (@arno-kools)


    Is it possible to also fetch and relink images from links in the content?

    For example:
    In the original post a image was inserted.
    Wordpress adds a medium sized version in the post with link to the full size image.
    Like so:
    <a href="http://www.[originalwebsite].com/wp-content/uploads/[imagefolder]/[imagename].jpg"><img class="alignnone size-medium wp-image-382" src="http://www.[originalwebsite].com/wp-content/uploads/[imagefolder]/[imagename_fullsize].jpg"></a>

    The image itself is fetched and the src-attribute updates perfectly.
    The href of the link however still refers to the full sized image on the original website.

    What I would like to achieve is to also fetch the image from the href and update it’s value with the url of the fetched image.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author C. Johnson

    (@radgeek)

    Hi @arno-kools , to do this you will need to use an add-on together with FeedWordPress. There’s one freely available that I wrote a while back called FWP+: SIC ‘Em; take a look here: https://github.com/radgeek/FWP—SIC–Em and let me know if it does what you are looking to accomplish.

    If the add-on is too limited to accomplish what you need to do, drop me a line via e-mail at feedback+feedwordpress@radgeek.com and let me know what you’re trying to get done, that the add-on module won’t allow you to do. It’s possible that what you’re trying to accomplish might be solvable in a different way; or with some additional custom code.

    I did use the sic-em plugin, which works fine for img src. However the plugin ignores linked images.

    In the end I customized the RSS feed, by automatically adding the linked images to the post.
    With a hook I excluded these images to be rendered when the post gets displayed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fetch linked images (from href)’ is closed to new replies.