Re: How to display images?
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42015
interpreted = N
texte = A couple mistakes in your syntax:* In your search, you have an extra quote () before asPageNumberSort* You need to use a
context inside your search context to create a loop through the items that were found by your search* Your showif syntax is off, and I can't tell what you're trying to do. In general, if the syntax is: A general outline of your code should look something like this:=(whatever you're testing it for)>...stuff to do if the showif condition evaluated true...... A final note... Very few people are using the xml-style syntax. If you have good reasons for continuing to use it, fine. Otherwise, you might consider converting to the classic syntax (eg. [showif 12<13]) if for no other reason than you'll probably get better support from the members of this fine list, since they almost exclusively use classic syntax and will be more likely to provide helpful answers for you.- brianAt 11:23 AM -0600 7/29/02, David wrote:>opps. Just resending this with changes: Changed scr to src>>>Hello,>>No on: do you use [param1] & [param2] before in your pages>>It's what came up on the browsers so I have no idea where it got it from or>what it is. I am just trying to figure out how to write this code to either>look in the database or how I can write out the code to search for the>images. I have a dropdown menu that has the values to seach the db for>example value=Page 1, value=Page 2, etc... Which I have a field in the>DataBase called PageNumber. Again I am new to WebDNA.>>On my result page I have the follow:>>Database Search:> eqPageNumberdata=> asPageNumbersort=1 asskusort=2 max=10> start=>>> Problem or how should I write it out?:>> =
.jpg>
scr=productimages/pg2/dna_sku>.jpg>(ect....)> >>I am just trying to figure out how I should write this code to display the>images in the result page that match the SKU ID being displayed.>>ThX>>David>>>>-----Original Message----->From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf>Of lb Lawrence>Sent: Monday, July 29, 2002 10:39 AM>To: WebCatalog Talk>Subject: Re: How to display images?>>>do you use [param1] & [param2] before in your pages>>le 29/07/02 18:17, David à dvaldez29@comcast.net a écrit :>>> Thanks for catching that typo. I changed it but I get the same error>> message.>>>> Error: Error: expected[raw][/[/raw][param1]],but>> found[raw][/[/raw][param2]]instead>>>>>> Database Search:>> > eqPageNumberdata=>> asPageNumbersort=1 asskusort=2 max=10>> start=>>>>> Problem:>>>> =
scr=productimages/pg1/.jpg>
> scr=productimages/pg2/dna_sku>.jpg>(ect....)>> >>>> David>>>> -----Original Message----->> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf>> Of Brian Boegershausen>> Sent: Monday, July 29, 2002 9:26 AM>> To: WebCatalog Talk>> Subject: Re: How to display images?>>>>>> Your image tag is wrong.>> Use
> not
>>> Brian>>>> -----Original Message----->> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf>> Of David>> Sent: Monday, July 29, 2002 11:31 AM>> To: WebCatalog Talk> > Subject: How to display images?> >> >> > Hello,> >> > I am new to WebDNA and I have been trying to figure out how to display> > images on my result page. I have tried several things but with no luck.>> Here is an example on what I am trying to do. I hope someone could help>me>> and get me back I the right track.> >>>>> > eqPageNumberdata=>> asPageNumbersort=1 asskusort=2 max=10>> start=>>>>> Problem:>>>> =
scr=productimages/pg1/.jpg>
> scr=productimages/pg2/dna_sku>.jpg>
> scr=productimages/pg3/dna_sku>.jpg>(ect....)>> >>>> Everything thing else works on my result page except displaying my image.>>>> If this is possible, I would like to know how to write out dna code to>> search the path in the database to display the images. I have a field>> called Pictures and within the field the path location to the images for>> example: productimages/pg1/sc_003.jpg, which by the way the image>matches>> [sku] ID number. I would like to know how to write this code other than>> listing all the pages in dna code listed above. I worked a little with>ASP>> codes and I know how to do it there but I want to get away from ASP. So>> could someone help me and tell me how I can tell WebDNA to search the>> Database and display the product images.>>>> ThX>>>> David>>>>>> ------------------------------------------------------------->> 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/>>>>>> ------------------------------------------------------------->> 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/>>>------------------------------------------------------------->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/-------------------------------------------------------------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:
A couple mistakes in your syntax:* In your search, you have an extra quote () before asPageNumberSort* You need to use a context inside your search context to create a loop through the items that were found by your search* Your showif syntax is off, and I can't tell what you're trying to do. In general, if the syntax is: A general outline of your code should look something like this:=(whatever you're testing it for)>...stuff to do if the showif condition evaluated true...... A final note... Very few people are using the xml-style syntax. If you have good reasons for continuing to use it, fine. Otherwise, you might consider converting to the classic syntax (eg. [showif 12<13]) if for no other reason than you'll probably get better support from the members of this fine list, since they almost exclusively use classic syntax and will be more likely to provide helpful answers for you.- brianAt 11:23 AM -0600 7/29/02, David wrote:>opps. Just resending this with changes: Changed scr to src>>>Hello,>>No on: do you use [param1] & [param2] before in your pages>>It's what came up on the browsers so I have no idea where it got it from or>what it is. I am just trying to figure out how to write this code to either>look in the database or how I can write out the code to search for the>images. I have a dropdown menu that has the values to seach the db for>example value=Page 1, value=Page 2, etc... Which I have a field in the>DataBase called PageNumber. Again I am new to WebDNA.>>On my result page I have the follow:>>Database Search:> eqPageNumberdata=> asPageNumbersort=1 asskusort=2 max=10> start=>>> Problem or how should I write it out?:>> =
.jpg>
scr=productimages/pg2/dna_sku>.jpg>(ect....)> >>I am just trying to figure out how I should write this code to display the>images in the result page that match the SKU ID being displayed.>>ThX>>David>>>>-----Original Message----->From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf>Of lb Lawrence>Sent: Monday, July 29, 2002 10:39 AM>To: WebCatalog Talk>Subject: Re: How to display images?>>>do you use [param1] & [param2] before in your pages>>le 29/07/02 18:17, David à dvaldez29@comcast.net a écrit :>>> Thanks for catching that typo. I changed it but I get the same error>> message.>>>> Error: Error: expected[raw][/[/raw][param1]],but>> found[raw][/[/raw][param2]]instead>>>>>> Database Search:>> > eqPageNumberdata=>> asPageNumbersort=1 asskusort=2 max=10>> start=>>>>> Problem:>>>> =
scr=productimages/pg1/.jpg>
> scr=productimages/pg2/dna_sku>.jpg>(ect....)>> >>>> David>>>> -----Original Message----->> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf>> Of Brian Boegershausen>> Sent: Monday, July 29, 2002 9:26 AM>> To: WebCatalog Talk>> Subject: Re: How to display images?>>>>>> Your image tag is wrong.>> Use
> not
>>> Brian>>>> -----Original Message----->> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf>> Of David>> Sent: Monday, July 29, 2002 11:31 AM>> To: WebCatalog Talk> > Subject: How to display images?> >> >> > Hello,> >> > I am new to WebDNA and I have been trying to figure out how to display> > images on my result page. I have tried several things but with no luck.>> Here is an example on what I am trying to do. I hope someone could help>me>> and get me back I the right track.> >>>>> > eqPageNumberdata=>> asPageNumbersort=1 asskusort=2 max=10>> start=>>>>> Problem:>>>> =
scr=productimages/pg1/.jpg>
> scr=productimages/pg2/dna_sku>.jpg>
> scr=productimages/pg3/dna_sku>.jpg>(ect....)>> >>>> Everything thing else works on my result page except displaying my image.>>>> If this is possible, I would like to know how to write out dna code to>> search the path in the database to display the images. I have a field>> called Pictures and within the field the path location to the images for>> example: productimages/pg1/sc_003.jpg, which by the way the image>matches>> [sku] ID number. I would like to know how to write this code other than>> listing all the pages in dna code listed above. I worked a little with>ASP>> codes and I know how to do it there but I want to get away from ASP. So>> could someone help me and tell me how I can tell WebDNA to search the>> Database and display the product images.>>>> ThX>>>> David>>>>>> ------------------------------------------------------------->> 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/>>>>>> ------------------------------------------------------------->> 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/>>>------------------------------------------------------------->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/-------------------------------------------------------------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/
Brian Fries
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:
Sendmail for intranet server (2004)
Using Eudora instead of Emailer, and cron facility (1998)
Nested Loops and SHOWIFs (1997)
2.0 Info (1997)
Bug? (1997)
Practice runs ? (1997)
WebCat2: Found Items syntax, etc. (1997)
Configuration Q (1998)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
RE: Problems with shopping cart (1997)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
can anyone confirm this behavior? (2003)
Cart Number sequence (1997)
Fwd: [WebDNA] Website Examples (2008)
Help! WebCat2 bug (1997)
[ShowNext] (1997)
WebCatalog Mac 2.1b3 (1997)
[WebDNA] WebDNA glitch, no response required ... (2009)
[cart] how is it generated (2002)
Extracting undeliverable email addresses (2003)