Support » How-To and Troubleshooting » Featured image from URL

Featured image from URL

  • Hi all,

    I have just installed a wordpress. The featured image is working fine if you upload any image to the host server. But if try to use any image from external url. It wont work. I have googled whole day to figure out why this thing is happening. I only ended up to a paid plugin , which a guy is keep on promoting in every post and that is purely ridiculous.

    I am bit suprised, we have lot of developers who are coding lots of various plugins, but no one to code this only 1 plugin.

    If any of you know the alternate method to use an external url as featured image, please let me know. Thank you all.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Not sure how much support you’ll find for this. A lot of pages may block out referrer URLs from grabbing their images. Additionally, doing so can get you into a bunch of legal trouble, which would cost you a lot more than a plugin.

    Not it wont, actually I want to fetch images from my other website.

    Have you tried using some HTML”, for example :-

    <img src=”http://www.myotherdomain.com/first-pic.jpg” alt=”this is a nice picture” width=”250″ height=”188″>

    Change what you need.

    No, it wont work for the featured image. You can get the image in your post, not in the featured image.

    No one got solution for this?

    Sorry I did not fully understand your requirement.

    No not for featured image but you can make it look like a featured image by placing it in the same location as the featured image.

    But there is a little trick you can play. Go select any current image on your site and set it as your featured image. Then switch your post edit from Visual to Text mode and you will see code similar to mine as shown below: –

    <img class=”alignleft size-full wp-image-4205″ title=”li07bl00thumbvc” alt=”how to make oregano liposomal vitamin c” src=”http://bachutha.com/wp-content/uploads/2012/11/li07bl00thumbvc.jpg” width=”300″ height=”300″ />

    You will see that WordPress uses a class, don’t touch that. Then you will see that src shows where the image is located. Change the src value. I changed mine to http://www.dpawhs.com/pix/computerpix.jpg which is an image from another site of mine (non WordPress site). My new HTML code for the featured image was:-

    <img class=”alignleft size-full wp-image-4205″ title=”li07bl00thumbvc” alt=”how to make oregano liposomal vitamin c” src=”http://www.dpawhs.com/pix/computerpix.jpg” width=”300″ height=”300″ />

    Make sure if the image is different size correct the values for width and height and save the post. Then view the post like a visitor and you will see the image from the other website showing up.

    A word of advice at this point, your pages will be slower as the web browsers will request the image form another site and not form your site’s harddisk. If the other site stops working or crashes or goes off line your pages will have blanks where the images were supposed to be.

    Hope this helps.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Featured image from URL’ is closed to new replies.
Skip to toolbar