It is the link named Affil Test - you will see the attached image but above it is the empty img box, which is the otherbannerattach
----------
Edit: I deleted the custom field and added it again, which made the conditional work, but the link which has an image attached to that field - spanish cookery books - it does not show.
Personally I'd do <IF {LINKOTHERBANNERATTACHFILENAME}> since I don't recall any specs on what using the field name by itself would do, though it shouldn't make a difference.
 http://www.spaintoday.co.uk/spanish-food-and-drink/
Cookery Books - I have temporarily added {LINKOTHERBANNERATTACHTITLE} ({LINKOTHERBANNERATTACHNAME}) to show that the link is definitely attached. I have checked that the image is indeed in the attachments folder. In order to show the image I have... Â <IF {LINKOTHERBANNERATTACHNAME}>
Your field is named otherbannerattach, but your url has field=linkotherbannerattach ... that needs to specify the field name, so field=otherbannerattach.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Condition on custom attach file
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I have a custom field : otherbannerattach
In my display links template I have
&amp;#60;IF LINKOTHERBANNERATTACH&amp;#62;
&amp;#60;img src="https://www.webmastersite.net/forums/download.php?id={LINKID}&amp;amp;field=otherbannerattach" &amp;#62;&amp;#60;/IF&amp;#62;
However, an image box still shows. You can see this at http://www.spaintoday.co.uk/spanish-food-and-drink/
It is the link named Affil Test - you will see the attached image but above it is the empty img box, which is the otherbannerattach
----------
Edit: I deleted the custom field and added it again, which made the conditional work, but the link which has an image attached to that field - spanish cookery books - it does not show.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Personally I'd do <IF {LINKOTHERBANNERATTACHFILENAME}> since I don't recall any specs on what using the field name by itself would do, though it shouldn't make a difference.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Still can't get the image to show.
 http://www.spaintoday.co.uk/spanish-food-and-drink/
Cookery Books - I have temporarily added {LINKOTHERBANNERATTACHTITLE} ({LINKOTHERBANNERATTACHNAME}) to show that the link is definitely attached. I have checked that the image is indeed in the attachments folder. In order to show the image I have...
Â
<IF {LINKOTHERBANNERATTACHNAME}>
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Your field is named otherbannerattach, but your url has field=linkotherbannerattach ... that needs to specify the field name, so field=otherbannerattach.