Re: Replace Missing Images

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53893
interpreted = N
texte = Jesse Crofoot wrote: > Hello all, > > I have been searching the web for information on how to accomplish this. > What I'm trying to figure out is if there is a way to dynamically display a > image not available image, if the image in the img tag isn't found. Any > suggestions would be greatly appreciated. > > Jesse L Crofoot Well, I think you are asking a question beyond: [if "[image]" = ""] [then]view[/then] [else][/else] [/if] If you are talking about not displaying the tag if the image isn't in the directory you will have to do a fileinfo comparison. [FileInfo file=images/[image]][showif [exists]=T][/showif][/fileinfo] Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design WWW Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 email:> dbrooke(AT)euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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: Replace Missing Images ( Tim Robinson 2003)
  2. Re: Replace Missing Images ( "Jesse Crofoot" 2003)
  3. Re: Replace Missing Images ( Paul Willis 2003)
  4. Re: Replace Missing Images ( Donovan Brooke 2003)
  5. Replace Missing Images ( "Jesse Crofoot" 2003)
Jesse Crofoot wrote: > Hello all, > > I have been searching the web for information on how to accomplish this. > What I'm trying to figure out is if there is a way to dynamically display a > image not available image, if the image in the img tag isn't found. Any > suggestions would be greatly appreciated. > > Jesse L Crofoot Well, I think you are asking a question beyond: [if "[image]" = ""] [then]view[/then] [else][/else] [/if] If you are talking about not displaying the tag if the image isn't in the directory you will have to do a fileinfo comparison. [FileInfo file=images/[image]][showif [exists]=T][/showif][/fileinfo] Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design WWW Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 email:> dbrooke(AT)euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan Brooke

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:

shipCost formula (1997) CVS Files for databases (2000) searchable list archive (1997) Help HTML reader (1999) WebDNA Writer Needed (1997) Looking For WebCatalog Migration Assistance (2003) Help name our technology! (1997) form data submission gets truncated (1997) international time (1997) [OT] Site Check please (2006) WebCatalog and WebMerchant reviewed by InfoWorld (1997) Upgrading old WebCat Database Files (1997) Weird problems with [SHOWIF]s (1997) Not really WebCat (1997) suggestions for a good text editor on windows? (2005) Form Variables (2000) plugin-acgi, different results (1997) WebCat & WebTen (1997) carriage returns in data (1997) converted seed value? (1998)