Menu

Graphics in HTML

Help
Colin
2008-11-04
2013-04-15
  • Colin

    Colin - 2008-11-04

    Hi,

    I've just downloaded this today & it seems to be just what I'm looking for but I would like to know how to add HTML files with images - I'm just getting placeholders.  Is there a recommended way to do this?

     
    • ALEX PKB

      ALEX PKB - 2008-11-27

      So far you need to place your images under a directory and in the html refer that image using absolute path like:

      <img src='file:///your path...' />

      B.T.W: You can type in html code, when the content starts with '<html>' tag, it will show the html page.

      I'll improve it in the later. to provide a tag refer to current working directory, so that no absolute directory is needed.

      It might be something  like:

      <img pkb:src='...' /> Then the directory is based on current pkb dir.

      Thanks!

       
    • The_Droog

      The_Droog - 2009-07-16

      First of all, I love this app. It's great how good everything works and how simple it is to use...but I really don't get it, how to add a picture. Absolute path is no problem, but what about a relative one? Have you improved it yet? If so, how aboutu the syntax?
      Thanks

       
    • ALEX PKB

      ALEX PKB - 2009-07-19

      It will be in the upcomming release 1.2.5
      The syntax is
      pkb://img/relative-image-path
      The path is relative to your pkb direcotry.
      If everything goes well, you will get it next week.

       
    • ALEX PKB

      ALEX PKB - 2009-07-22

      I implement the link to image in 1.2.5, please download the latest version. The usage can be found at:
      http://pkb.sourceforge.net/advanced.html
      Link to an image relative to PKB base resource directory
      Please find your way to place your image directory and configure the resource base path.
      More functions will be added in the future.

       

Log in to post a comment.