Upfront Spirit Gallery for Amazon associates

I am trying to use the Gallery of the Spirit theme to display Amazon product links. For example:

<a href="//www.amazon.com/gp/product/B00QMALXLW/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=B00QMALXLW&linkCode=as2&tag=systems0a9-20&linkId=TDWKPUWYZEXEMLCJ""><img border="0" src="http://ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&ASIN=B00QMALXLW&Format=_SL110_&ID=AsinImage&MarketPlace=US&ServiceVersion=20070822&WS=1&tag=systems0a9-20" ></a><img src="http://ir-na.amazon-adsystem.com/e/ir?t=systems0a9-20&l=as2&o=1&a=B00QMALXLW" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />

It sort of works. See the screenshot attached. What is the recommended way to accomplish my goal? I'd like to create a gallery of images with my Amazon affiliate link.

Thanks,
Steve