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 Thomas Walter <tw@mail.itreff.de>     ******

Dan Busarow wrote:
> 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]
> 

I use the [if file ...]-construct  quite often, but I have problems to
put a [value something] (to search for a gif for example that is named
like mv_searchspec) into it. It does not seem to work... Can anyone
prove why - or how to get around this?

     Balu
-
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: