Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 721 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 721 Bytes

Refresh image

This project aims to help you to set up a simple HTML page that forces the browser to reload an image using URL parameters.

Live demo

How this code works

Parameters:

  • url: image URL
  • interval: refresh rate (in ms) | default: 2000ms
  • width: image width in pixels | default: 100%
  • collapsed: allows you to set body's margin and padding to 0px | default: false

Sample page:

https://hhkaos.github.io/refresh-img//?url=http://turiscam.comunitatvalenciana.com/calp.jpg&interval=1000&width=700&collapsed=true