Welcome to Squishdot Websites Squishdot How-To Newbies
 post article
 Mailing Lists
 Bug Tracking


How To: Display an image in a Squishdot page
How-To Posted by Mark Matthews on Wednesday July 07, 12:30PM, 2004
from the cant-find-it-in-the-documentation dept dept.
As well as attachments to a post, we need Images to be displayed as part of some postings.... how?

...Can we do this using Structured Text references or HTML references to images stored inside the Zope server or Squishdot admin?
...can we get the attachments to display at the bottom of a posting they are attached to if they are images, like in a ZWiki?

..help please!


<  |  >


Related Links
  • Articles on How-To
  • Also by Mark Matthews
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Just Link to 'em
    by Chris Withers on Monday July 12, 09:47AM, 2004
    I'd just store them somewhere in your Zope instance and refer to them with <img> tags that have src attributes containing relative references to the images you want. Works for me on a couple of my SquishSites...

    [ Reply to this ]
    • Re: Just Link to 'em
      by Mark Matthews on Tuesday July 13, 12:55PM, 2004
      Thanks. After getting more help i added the "valid_tags" property (of type Lines) to the properties list in the Squishdot folder, and into this put all the values i needed including IMG, for <IMG>xxx</IMG>.

      Then by creating a vlaid HTML tag to an external picture file stored on our file server, i was able to have any image (of flow charts, uml, diagrams, etc) diaplay in-line in any posting, or even summary section. Fantastic - could not have got there without all the help from the guys on this site :-)
      [ 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.