[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] If file exists... show it
I've been tinkering with this example and some others examples from
the list. Could someone suggest what I am doing wrong?
[if file
/usr/home/bheath/webpage/bbbstore/images/spring99/[item-field
thumbnail]]
<IMG SRC="[item-field thumbnail]" ALT="[item-field title]" BORDER="2">
[else]
<IMG SRC="missingthumb.jpg" ALT="[item-field title]" BORDER="2">
[/else]
[/if]
The thumbnail field in the database is name that is not the same as
[item-code].
I thought this was logical *shrug*
> [if file /home/user/www/images/[item-code].gif]
> <IMG SRC="[item-code].gif">
> [/if]
>
> or
>
> [if type=file term="/home/user/www/images/[item-code].gif"]
> <IMG SRC="[item-code].gif">
> [/if]
>
> The C<file> test requires that the I<SafeUntrap> directive contains
> C<ftfile> (which is the default).
Ven's News: http://www.pragakhan.com/news.html
Ven (ven@pragakhan.com) _________________ http://ven.pragakhan.com __
AOL: WebmstrVen Praga Khan's Official Website ICQ: 8321393
http://www.pragakhan.com
Lords of Acid Official Website
http://www.lordsofacid.com