MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Handling Missing Images



******    message to minivend-users from Dan Busarow <dan@dpcsys.com>     ******

On Wed, 24 Feb 1999, Raj Goel wrote:
> 	I'm using a SQL Search, so I get field values returned as 
> 	[item-param 0], [item-param 1]...
> 
> 	<img src="[item-param 6]">
> 	works fine, but shows a broken image if [item-param 6] is null.
> 
> 
> 	[if-data [item-param 6]]<img src="[item-param 6]">[/if]
> 	Does NOT work.  Neither does
> 	[if-field [item-param 6]]<img src="[item-param 6]">[/if]

I'd use 

[if file /home/user/www/images/[item-param 6]]
<img src="[item-param 6]">
[/if]


Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: