Title: Embed Widget Code
Last modified: August 21, 2016

---

# Embed Widget Code

 *  [Eric McCarty](https://wordpress.org/support/users/eric-mccarty/)
 * (@eric-mccarty)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/embed-widget-code/)
 * 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](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)

 *  [Rod Whiteley](https://wordpress.org/support/users/rod-whiteley/)
 * (@rod-whiteley)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/embed-widget-code/#post-4105225)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Rod Whiteley](https://wordpress.org/support/users/rod-whiteley/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/embed-widget-code/#post-4105225)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
