Re: Need Photo Placement Suggestions

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40973
interpreted = N
texte = you can probably use listwords to place the images...newsbody = newsbody contains [image1] and another [image2] and yet another [image3][listwords words=[newsbody]&delimiters= ] [showif [word]=[image1]][/showif] [showif [word]=[image2]][/showif] [showif [word]=[image3]][/showif] [hideif [word]^[image][word] [/hideif] [/listwords] you may have to playwith this little bit to work for you...HTH= Anup ----- Original Message ----- From: Kimberly D Ingram To: WebCatalog Talk Sent: Wednesday, June 26, 2002 1:21 PM Subject: Need Photo Placement Suggestions > In working with an online newsletter and accompanying administration > interface... > I would like to provide a form for the administrator to submit the following > information for each article: > 1. Title > 2. Body > 3. Images > Let's say the administrator would be able to submit up to 3 image filenames > from his/her image library. > > Now for my pondering... > I would like to place the specified images throughout the body of the > article automatically (placement being determined by the length of the > newsletter article). I do not want to ask the administrator where to place > the images, only what order to place them (image1, image2, image3). > > I have thought about how to go about this and both [countchars] and/or > [countwords] come to mind, but that's about as far as I have gotten... I > can't figure out how to actually code this scenario. Has anyone else worked > with a similar project or does anyone have any other suggestions that may > help me make this happen? > > Kim > > netSourcery > Voice: 423-336-1638 > Fax: 208-361-8030 > Emergency: 423-618-1069 > Toll Free: 1-866-811-7087 > > > The grass is greener on the other side, only when you're treading so > heavily on this one. - Kimberly Ingram > _____________________________________________ > This service is brought to you by netSourcery. > Post Office Box 199 in Charleston, Tennessee 37310 > > > > > ------------------------------------------------------------- > 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://search.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Need Photo Placement Suggestions (Kenneth Grome 2002)
  2. Re: Need Photo Placement Suggestions (Brian Fries 2002)
  3. Need Photo Placement Suggestions (Kimberly D Ingram 2002)
  4. Re: Need Photo Placement Suggestions (Anup Setty 2002)
you can probably use listwords to place the images...newsbody = newsbody contains [image1] and another [image2] and yet another [image3][listwords words=[newsbody]&delimiters= ] [showif [word]=[image1]][/showif] [showif [word]=[image2]][/showif] [showif [word]=[image3]][/showif] [hideif [word]^[image][word] [/hideif] [/listwords] you may have to playwith this little bit to work for you...HTH= Anup ----- Original Message ----- From: Kimberly D Ingram To: WebCatalog Talk Sent: Wednesday, June 26, 2002 1:21 PM Subject: Need Photo Placement Suggestions > In working with an online newsletter and accompanying administration > interface... > I would like to provide a form for the administrator to submit the following > information for each article: > 1. Title > 2. Body > 3. Images > Let's say the administrator would be able to submit up to 3 image filenames > from his/her image library. > > Now for my pondering... > I would like to place the specified images throughout the body of the > article automatically (placement being determined by the length of the > newsletter article). I do not want to ask the administrator where to place > the images, only what order to place them (image1, image2, image3). > > I have thought about how to go about this and both [countchars] and/or > [countwords] come to mind, but that's about as far as I have gotten... I > can't figure out how to actually code this scenario. Has anyone else worked > with a similar project or does anyone have any other suggestions that may > help me make this happen? > > Kim > > netSourcery > Voice: 423-336-1638 > Fax: 208-361-8030 > Emergency: 423-618-1069 > Toll Free: 1-866-811-7087 > > > The grass is greener on the other side, only when you're treading so > heavily on this one. - Kimberly Ingram > _____________________________________________ > This service is brought to you by netSourcery. > Post Office Box 199 in Charleston, Tennessee 37310 > > > > > ------------------------------------------------------------- > 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://search.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://search.smithmicro.com/ Anup Setty

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:

ListFiles Bug (1998) Major bug report on rootbeer (1997) Secured Order Forms (1998) date pref (1999) [WebDNA] RESTART WebDNA (2016) Trouble with formula.db (1997) Apoligy (1997) Thanks Grant (1997) NT vs Mac (1997) TCPconnect issue (2000) purchase.log file (1997) WebCat2 - Getting to the browser's username/password data (1997) WebCatalog can't find database (1997) [WebDNA] isolatin-1 to utf-8 conversion (2013) Online reference (1997) [WebDNA] [hideif]'s not working in [sendmail] (2008) Help! WebCat2 bug (1997) carriage returns in data (1997) Free Authorize.net (2004) Secure server question (1997)