• I have created a graphic (jpg) that I would like to make available for other site owners to embed in their sites. It is a Blue Ridge Parkway Fall Color Tracker. I will update it every few days and I want it to auto-update on any site in which it is embedded. I would like it to carry a link back to my site – http://blueridgeparkwaydaily.com.

    Since the image will change every few days, I don’t want to use a regular image source code and simply change the image out with the same name because the image will be cached and not change for return visitors.

    I am not sure if an iframe would work because it might not carry the link juice with it. Javascript?

    It is a 200×200 jpg that I envision would be embedded in sidebars.

    I am not a coder.

Viewing 1 replies (of 1 total)
  • If other sites use the image, it will not necessarily have a link. They’ll have to provide the link separately. There is no way that you can embed the link inside the image.

    To prevent browsers from caching the image, or to force them to reload it after a specified time, you have to modify the HTTP Expires or Cache-Control headers sent by your server along with the image file. As your server is Apache, you can probably do this with a .htaccess file. Another way is by using PHP code to deliver the image. I haven’t tried either method myself, so I don’t have complete details.

Viewing 1 replies (of 1 total)

The topic ‘Embed Widget Code’ is closed to new replies.