Re: Show if file exists

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58764
interpreted = N
texte = here is the modified code (no formatting removed) I am using for what I am trying to do, I am still getting crap results and can't see why :-( Like I said I had this code working before....
View Details [!] -- Code for testing only -- [/!]
[text]image2=[fileinfo file=http://www.hanon-shop.com/images/products/detail/2/[prodID][colourCode].jpg][exists][/fileinfo][/text] [text]image3=[fileinfo file=http://www.hanon-shop.com/images/products/detail/3/[prodID][colourCode].jpg][exists][/fileinfo][/text] Image 2 = [image2]
Image 3 = [image3]
Image 2 should be this :-

Image 3 Should be :-

[!] -- End Testing Code -- [/!] [showif [fileinfo file=http://www.hanon-shop.com/images/products/detail/2/[prodID][colourCode].jpg][exists][/fileinfo]=T][/showif] [showif [fileinfo file=http://www.hanon-shop.com/images/products/detail/3/[prodID][colourCode].jpg][exists][/fileinfo]=T][/showif]
Any suggestions are very welcome as this has me baffled.... Thanks Alan Gary Krockover wrote: > The paths of the actual images doesn't seem to be matching what you > have in the [fileinfo] - thus it's returning 'F'. > > The obvious difference is > > http://www.hanon-shop.com vs http://css.hanon-shop.com, but maybe > that's just for testing and your code is reflecting that change. > > GK > > At 10:38 AM 7/12/2004, you wrote: > >> Where are you seeing the double as I can't find it at all :-( > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Show if file exists ( Alan White 2004)
  2. Re: Show if file exists ( Alain Russell 2004)
  3. Re: Show if file exists ( Alan White 2004)
  4. Re: Show if file exists ( Christer Olsson 2004)
  5. Re: Show if file exists ( Alan White 2004)
  6. Re: Show if file exists ( Gary Krockover 2004)
  7. Re: Show if file exists ( Alan White 2004)
  8. Re: Show if file exists ( Gary Krockover 2004)
  9. Re: Show if file exists ( Alan White 2004)
  10. Re: Show if file exists ( Alan White 2004)
  11. Show if file exists ( Alan White 2004)
here is the modified code (no formatting removed) I am using for what I am trying to do, I am still getting crap results and can't see why :-( Like I said I had this code working before....
View Details [!] -- Code for testing only -- [/!]
[text]image2=[fileinfo file=http://www.hanon-shop.com/images/products/detail/2/[prodID][colourCode].jpg][exists][/fileinfo][/text] [text]image3=[fileinfo file=http://www.hanon-shop.com/images/products/detail/3/[prodID][colourCode].jpg][exists][/fileinfo][/text] Image 2 = [image2]
Image 3 = [image3]
Image 2 should be this :-

Image 3 Should be :-

[!] -- End Testing Code -- [/!] [showif [fileinfo file=http://www.hanon-shop.com/images/products/detail/2/[prodID][colourCode].jpg][exists][/fileinfo]=T][/showif] [showif [fileinfo file=http://www.hanon-shop.com/images/products/detail/3/[prodID][colourCode].jpg][exists][/fileinfo]=T][/showif]
Any suggestions are very welcome as this has me baffled.... Thanks Alan Gary Krockover wrote: > The paths of the actual images doesn't seem to be matching what you > have in the [fileinfo] - thus it's returning 'F'. > > The obvious difference is > > http://www.hanon-shop.com vs http://css.hanon-shop.com, but maybe > that's just for testing and your code is reflecting that change. > > GK > > At 10:38 AM 7/12/2004, you wrote: > >> Where are you seeing the double as I can't find it at all :-( > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Alan White

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

ASCII Code 127 (2004) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Database (2002) WebCat2b15MacPlugin - showing [math] (1997) WebCatalog can't find database (1997) Using Plug-In while running 1.6.1 (1997) Credit Card Number checking (1997) Am I going senile? (Price recalc based on quantity) (1997) shownext (1997) What am I missing? (1998) typhoon... (1997) problem with applets embedded in tpl files (1997) RE: creating writefile data from a nested search (1997) reserved characters for field names? (1998) rename a file (1997) Multiple 'Users.db' files not possible (1997) available times? (2003) Search/sort in URL Was: GuestBook example (1997) emailer (1997) [TaxableTotal] - not working with AOL and IE (1997)