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.
Comments on Show Thumbshot or Affiliate Ad
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
On the linkbit template...
this code shows the thumbshot:
and I had added this code to show the affiliate ads:
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.
Hope this helps others!
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You can simplify it a bit to
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
Cleaner, smaller code. Thanks Paul!