Hello everyone. I’m new here, so my apologies if this is in the wrong section.
I’m looking for a way to have a server download four images off a website, resize and resave them, and host them as part of another website… Every five minutes.
One of my sites, RIGIC, shows four “webcam images” on the main page. These webcam images are JPEGs that the cameras capture and then upload to the webcam manager’s server (11,470 miles away). The images are refreshed every five minutes. I have these JPEGs linked from their server on my site, but I wan’t to be able to host the images myself so that they don’t need to load from the other side of the planet every time a user visits the site.
So, how can this be done? A script, perhaps?
Again, just to be clear, this is what I’m trying to accomplish:
- Server/computer downloads four images off of website #1.
- Server/computer resizes and resaves the images.
- Server/computer hosts the files for website #2.
- Repeat every five minutes.