Message Text |
On the linkbit template...
this code shows the thumbshot:
<IF {SWITCH_THUMBSHOTS}><td style="vertical-align: top;"><div class="thumbshot">{LINKTHUMBSHOT}</div></td></IF>
and I had added this code to show the affiliate ads:
<IF {LINKAFFILIATECODEBOOL}>{LINKAFFILIATECODE}</IF>
but that makes for a very crowded linkbit when the listing is an affiliate ad with two images being displayed. When that happens, the thumbshot is always a 'coming soon' image anyway due to the affiliate url.
So, with a little luck, I modified the code to be the following and now if the listing is an affiliate ad that will show, otherwise it shows the thumbshot.
<IF {LINKAFFILIATECODEBOOL}><td style="vertical-align: top;"><div class="thumbshot">{LINKAFFILIATECODE}</div></td><OTHERWISE><IF {SWITCH_THUMBSHOTS}><td style="vertical-align: top;"><div class="thumbshot">{LINKTHUMBSHOT}</div></td></IF></IF>
Hope this helps others! |