Displaying photo attached to first record

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11903
interpreted = N
texte = Hi have a problem with displaying an image. Here's the scenerio:Have a standard webcatalog layout with SKU, Category, Title, Description, Price Phote etc.I do the standard drill down through category, however in the results display, I show a summary of products by title, as many of the products have various options attached.ieWidget blue 12 Widget red 12 Widget green 14 etc.So, when you click on detail it will show the widget as a title, plus a table of all the variations.

Detail

This all works fine, the details are displayed, but I want to take the image attached to the first record, and display it next to the title. If I put the following, it will return 5 images if 5 records are displayed (as you would expect), plus the title from the previous results template. [founditems] [/founditems]

[searchtitle]

So,how do I ; Limit the image displayed to the first record found or get a summary of the image names.or do I need to put the images and title in a seperate database.I've tried all sorts of combo's but I think I'm stumped on this one.cheers,Rick Associated Messages, from the most recent to the oldest:

    
  1. Re: Displaying photo attached to first record (Kenneth Grome 1997)
  2. Re: Displaying photo attached to first record (Richard Wylie 1997)
  3. Re: Displaying photo attached to first record (Kenneth Grome 1997)
  4. Displaying photo attached to first record (Richard Wylie 1997)
Hi have a problem with displaying an image. Here's the scenerio:Have a standard webcatalog layout with SKU, Category, Title, Description, Price Phote etc.I do the standard drill down through category, however in the results display, I show a summary of products by title, as many of the products have various options attached.ieWidget blue 12 Widget red 12 Widget green 14 etc.So, when you click on detail it will show the widget as a title, plus a table of all the variations.[url][title][/url]&descr iptionsumm=T&descriptionsort=1&searchtitle=[url][title][/url]&max=50&cart=[ cart]>

Detail

This all works fine, the details are displayed, but I want to take the image attached to the first record, and display it next to the title. If I put the following, it will return 5 images if 5 records are displayed (as you would expect), plus the title from the previous results template. [founditems] [/founditems]

[searchtitle]

So,how do I ; Limit the image displayed to the first record found or get a summary of the image names.or do I need to put the images and title in a seperate database.I've tried all sorts of combo's but I think I'm stumped on this one.cheers,Rick Richard Wylie

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:

[WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (2009) [WriteFile] problems (1997) Re:2nd WebCatalog2 Feature Request (1996) [addlineitems] display (1997) Information on Vieworders.tpl (1998) [WriteFile] problems (1997) [WriteFile] problems (1997) Sandbox CPU Usage Issue (2005) Internet Explorer and caching (2000) Summing fields (1997) Where is f2? (1997) Attention all list readers (1997) Execute Applescript (1997) Need Advice for Setting up a Database (1999) Emailer Question (1998) Some Questions (1997) Multiple SSL Keys (1998) Security for malls with different webmasters (1998) WebCatalog for Postcards ? (1997) Sorry I didn't pay attention-but ??? (1997)