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:

My URL, Your URL (2002) SiteGuard Admin Feature ? (1997) More on the email templates (1997) Running 2 two WebCatalog.acgi's (1996) autosensing lanague selection (1997) Help formatting search results w/ table (1997) Linux vs Jaguar (OSX) (2002) Webcat 3.0.5b9, b8 trigger failures ON WEBSTAR (1999) RE: Emailer prefs in two places ... (1997) Trouble with Netscape (1998) 2.0Beta Command Ref (can't find this instruction) (1997) emailer (1997) Wanted: Broader string manipulation functions (1997) Re[2]: New syntax feedback for 4.0 (2000) Webstar 1.3.1 PPC (1997) HELP WITH DATES (1997) Search results templates (1996) displaying New products (Yikes! it's Fixed!) (1997) calculate age (2003) Simple way to create unique SKU (1997)