Automate Photo Download and Post
-
Hello, I need to grab a photo of the monthly tide chart from the internet every month and post it on our website. The URL of the image changes every month but I’m wondering if there is a way I can automate this function rather than manually doing this each month?
The blog I need help with is: (visible only to logged in users)
-
Hi there,
So this is an image published on another site, and you just hotlink to it by adding the URL directly in an image block?
In order to automate something like this the image would need to be available as a dynamic embed instead on the site hosting it, and at the same time their site would need be added to our embeds whitelist (in the case of oEmbed), or you’d need to be on our Pro plan (for iframe or JavaScript embeds).
So there’s no way for you to automate it from your end – the changes to make automatically updating the image possible would need to come from the site where you get the images.
-
and you just hotlink to it by adding the URL directly in an image block?
Nevermind :). I found the chart on your site, and see it’s an image you upload to your media library, I’m guessing after taking a screen shot of the chart at https://www.usharbors.com/harbor/washington/seattle-wa/tides/#monthly-tide-chart, correct?
I see on that site it’s not actually an image, but a HTML table with the data getting pulled in from a database. If usharbors.com also made this data accessible via an API, it would be possible to create a WordPress plugin to pull that data into your site directly, and embedding it that way. You would even be able to create your own custom chart using the data in that case.
Using a custom plugin like that would require our Pro plan, and you’d need to hire a web developer to build something like that for you, but I thought I’d mention it as another option you could consider.
- The topic ‘Automate Photo Download and Post’ is closed to new replies.