Thread:Project:Support desk/Widget giving error for some reason

I created a widget called Widget:Amazon that is suppose to display the image of a url that I input into the $image variable. But I get "Error in widget Amazon" instead.

Here is my code found at https://wiki.gamepaduniverse.com/wiki/Widget:Amazon

This is how the code is being ultized:

Any ideas why I am getting an error/how do I correct it?