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>     ******

Thanx Mike - even if it still hurts :-)...

> Quoting Thomas Walter (tw@mail.itreff.de):
> > Ive tried to quote it before asking, but it did not work either -
> > perhaps I am just to blind to see it: This is the code I've tried:
> > 
> > [if file /dir/to/gifs/[value mv_searchspec].gif]
> >   <img src="[value mv_searchspec].gif">
> > [else]
> >  <a href="file://dir/to/gifs/[value mv_searchspec].gif">file</a>
> > [/else]
> > [/if]
> > 
> > The [value mv_searchpec] inside the if is not interpolated. I have tried
> > to quote it:
> > [if file "/dir/to/gifs/[value mv_searchspec].gif"]
> > but this gives me a division by zero error?!?
> > 
> > The file exists (I've added the [else] to try it)...
> > 
> >      Balu
> > 
> > PS: Just hit me with a tree if the solution is too easy, but stamp the
> > solution in first ;-)
> 
> Whack!!!!
> 
> [if type=file term="/dir/[value mv_searchspec].gif"]
-
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: