Updating platform image?

Before I begin, I am a novice at JavaScript at best, and just started learning this month for the purpose of working on my mod, apologies in advance for any possible lack of understanding.

That being said, I am currently in the process of rewriting my mod from scratch and I came across the mechanic which allows platforms to have updating pictures via imageDates. I have been successful with the the majority of the mod’s mechanics getting to work, but it seems I am not having the same luck with imageDates.

It is my understanding this was asked a number of years ago by somebody else and @PatrickKlug gave a bit of information but I’m a bit lost as to how I can implement this mechanic in my mod.

I’ve been tinkering around with this for a while so anything as much as a suggestion or tip from anybody will be helpful.