Search Forums
Kiwitrees on Twitter

    contacts, upgrade, fatal error, folder, custom modules, server, bug reporting, fact, tools, fancy tree view, charts, 3.3.0, clipboard, 500, 3.0.0. setup, hover, marriage, HTML block, progress, chart, php 7, translate, performance, events of close relatives, latest version, colors theme, Support/Bug Reporting, error, admin, re-order, Themes change, autocomplete, calendar, errors, CREM, Favourites, REFN, source, logout, pdf, follow, webtrees, edit menu, help, wish, tags, spouse, Fancy imagebar, library, getClientIp, abbreviate, F.A.B., research tasks, roadmap, configure, cousins, lists individuals families, edit interface, blank screem, html

    Topic:   image path for HTML block  

    This topic contains 1 reply, has 2 voices, and was last updated by kiwi kiwi 2 years, 7 months ago.

    Viewing 2 posts - 1 through 2 (of 2 total)
    • Author
    • #4945

      436 posts

      Want to add an image to my home page HTML block. I have the png in with the rest of my images (data/media) for the site but not sure of correct path to use for inserting. Tried using the image “browse server” but didn’t show them.


      MacOS: 10.11.6  (El Capitan)
      Browsers (mac): Safari  Version 11.0.2;  Firefox 57.0.4
      "A-D connections 3.3.3" [private]
      PHP 7.0 Fast CGI
      mySQL server: 5.1.56

      "The Royals 3.3.3" <>
      PHP 7.1 Fast CGI
      mySQL server: 5.1.56

      [updated: 10 Mar 2018]


      1607 posts

      I have the png in with the rest of my images (data/media) for the site but not sure of correct path to use for inserting.

      That’s the problem. You can’t link to an image in the kiwitrees standard media folder. The whole point of that folder is to prevent linking, and to ensure correct privacy rules are applied to every image it contains. This has been explained both here and on webrees many times before.

      However there are ways to do what you want – two in fact.:
      1 -Using an image subject stored within your standard kiwitrees media folder:

      2 – Using he HTML block editor click on the “image” icon in the tool bar.

      I assume from your comments this (option 2) is what you are doing. So, if you need your image to be in the protected /data/media folder (because its linked to a record in your family tree as well) then you must use option 1. above.

      If it is not needed for your family tree itself, then the image should be any where EXCEPT /data/media. The best way is to use the “browse server” option you mentioned above, then within that screen use the “Upload” option (near top-left corner) This places all such images neatly together in a new “uploads” folder which is the default location for that image feature.

      My personal kiwitrees site is
    Viewing 2 posts - 1 through 2 (of 2 total)

    The topic ‘image path for HTML block’ is closed to new replies.