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 PMSubject: 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 thefollowing> information for each article:> 1. Title> 2. Body> 3. Images> Let's say the administrator would be able to submit up to 3 imagefilenames> 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 toplace> 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 elseworked> 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:
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 PMSubject: 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 thefollowing> information for each article:> 1. Title> 2. Body> 3. Images> Let's say the administrator would be able to submit up to 3 imagefilenames> 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 toplace> 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 elseworked> 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:
webcat NT (1998)
WebTrends (2002)
t or f (1997)
slightly OT: advertising schemes (2004)
Security Issues and WebCommerce Solution (1997)
Unexpected error (1997)
[OT] Bookmarking code (2003)
Field name-subcategory (1997)
I give up!! (1997)
WC2.0 Memory Requirements (1997)
WebCat.acgi from /cgi-bin/? (1997)
creating a ShipCosts database (1997)
[WebDNA] drop off not round off (2011)
Can you do this??? and other stuff (1997)
Friday night shopping site joke (1997)
WebSTAR/WebCat is serving .db files! (1999)
Upload Text File/ Append to DB (2003)
multi-paragraph fields (1997)
b12 cannot limit records returned and more. (1997)
[item] appears after 'remove last item' ... (1997)