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:

    
  1. Re: How to display images? (Brian Fries 2002)
  2. Re: How to display images? (lb Lawrence 2002)
  3. Re: How to display images? (David 2002)
  4. Re: How to display images? (David 2002)
  5. Re: How to display images? (lb Lawrence 2002)
  6. Re: How to display images? (lb Lawrence 2002)
  7. Re: How to display images? (David 2002)
  8. How to display images? (David 2002)
  9. Re: How to display images? (Brian Boegershausen 2002)
  10. Re: How to display images? (Matthew Bohne 2002)
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:

WebCatalog 2.0 b 15 mac (1997) Beta 3.0.3 fix for serial# problem (Mac) (1998) A multi-processor savvy WebCatalog? (1997) Running _every_ page through WebCat ? (1997) limitation found on group searching (1997) Not really WebCat - need HTML Grider (1997) [WebDNA] Multiple Instances of WebDNA causing multiple copies (2012) WebCat for Unix?? (1997) [WebDNA] How to create a MD5 hash & decrypt it (2011) b12 cannot limit records returned and more. (1997) WebCat2 - many [carts] on one template page? (1997) emailer and bad addresses (1997) Moving files from one server to another... (2001) Summing fields (1997) OSX and iTools installation (2000) [WebDNA] Middle Question (2015) WC 2.0 frames feature (1997) FW: WebDNA-Talk searchable? (1997) Shhh, very quiet. (2006) Week # problem (1998)