Home
Do you make sure your images are hosted internally?
  v1.0 Posted at 25/01/2017 12:42 AM by Tiago Araujo
When want to show an image from the web on your website, the easiest way is to just copy the image's path and add it. This is not a good idea as the original host of the image can delete it, which will cause a broken image in your website.

The right way to do this is to copy the image locally and upload to your own server, so you have total control over the image.

<dl class="image">
<dt><img src="https://some-external-​url.com/images/open-extension.png" alt="Open extension" /></dt> 
<dd>Figure: Open extension</dd>
</dl>

​Figure: Bad example - using an external URL as image source. The image can be edited or deleted and there is nothing you can do about it

​<dl class="image">
<dt><img src="https://ssw.com.au​/images/open-extension.png" alt="Open extension" /></dt> 
<dd>Figure: Open extension</dd>
</dl>​

​Figure: Good example - Image is hosted internally. You have control over the image

Note: For copyrighted images, it is important to always ​​mention the source.​​

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments:

    Note: Social Media login for Yotpo is not working in IE or Safari, please use Chrome. We are waiting for Yotpo to fix it.