Welcome to Squishdot Squishdot How-To Newbies Websites
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


View all Subject Images
Squishdot Posted by Paul R Wellspeak on Monday February 05, 04:00PM, 2001
from the HELP dept.
I am trying to make a search page that lists the subjects available and show the related subject images. How do I get the images to show?

I can use to get the names of the subjects but I do not know how to get a list for the IMG SRC for each subject. The standard header shows images based on recent articles . This, however does not show all subjects of posted articles. Please help.

<  |  >

 

Related Links
  • Articles on Squishdot
  • Also by Paul R Wellspeak
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Re: View all Subject Images
    by Chris Withers on Monday February 19, 05:49PM, 2001
    I use this code to do what you want:

    <dtml-in subjects_list>
    <TD>
    <dtml-if "subject_image(_['sequence-item'])">
    <A href="<dtml-var site_url>/index_html?subject=<dtml-var "_['sequence-item']" url_quote>">
    <IMG SRC="<dtml-var site_url >/TopicImages/<dtml-var "subject_image(_['sequence-item'])" url_quote>" border=0 alt="<dtml-var "_['sequence-item']">">
    </A>
    </dtml-if>
    </TD>
    </dtml-in>

    Good luck,

    Chris
    [ Reply to this ]
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.