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 12Widget red 12Widget green 14etc.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]
![](/WebCatalog/Images/[photoname])
[/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:
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 12Widget red 12Widget green 14etc.So, when you click on detail it will show the widget as a title, plus a table of all the variations.
[url][title][/url]&descriptionsumm=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]![](/WebCatalog/Images/[photoname])
[/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:
password authentication schemes (2003)
WebSTAR 2.1 freezes my Mac (1997)
RE: Can't get appendfile to work (1997)
Nav. 4 probs with cart (1997)
E-mailer error codes (1997)
[WebDNA] [OT] Free Windows FTP client recommendations (2009)
[OT] Linux Vs. OSX (leopard) server (2007)
Error Log.db --however (1997)
WebCatalog for Postcards ? (1997)
[orderfile Orders/[cart]] (2000)
WebCatalog for Postcards ? (1997)
PCS Customer submissions ? (1997)
(1997)
emailer w/F2 (1997)
UPS uber integration (2007)
WebCatb15 Mac CGI -- [purchase] (1997)
ShowNext (1997)
Comments in db? (1997)
my price won't move (1997)
FAX orders (1996)