• Hi,
    Very impressed with the plugin!

    Just like in the old days, I am uploading a webcam image every 5 seconds to my website.
    I was hoping that your plugin can effectively refresh/ update the image with a nice fade.
    I added 2 x slides of the same image from a URL, but it doesn’t update.
    Just fades from the same image to the exact same image, maybe a Cache is a problem for that to work?

    Any ideas?

    Many Thanks
    Adrian

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Hi. The images within a website page are fetched & displayed on the ‘page load’ event, and will not be refreshed, unless the page is refreshed. You can add a ‘META REFRESH’ into your HTML <head> area to force your page to refresh continually after a number of seconds, e.g.:
    <meta http-equiv="refresh" content="30">
    (see https://www.wikiwand.com/en/Meta_refresh)

    BUT, if you set this up you may still have issues, as you mention with caching. If the image filenames rename the same, then the cache logic will assume that the images themselves have not changed and will just fetch them from cache. You can force a web-page to reload everything from the server though using the following:

    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="-1">
    <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">

    (see: https://www.lifewire.com/force-page-load-from-server-3466696)
    The trade off here is that your page will take longer to load without caching.

Viewing 1 replies (of 1 total)

The topic ‘Use a single Image that is being updated.’ is closed to new replies.