Search Forums
Forums
Kiwitrees on Twitter
    Tags

    emigration, date, pdf, descendants, Favourites, latest version, family, type, sanity checker, Extra menus, style, places, colors, person, ckeditor, save settings, contact links, github, editor, kiwitrees theme, partner, logs, not married, roadmap, 3.0.0 widgets, prison, fatal error, server, updates, translate, tabs, census assistant, 3.2.0, notes, relationships, lists individuals families, Export/Import, gallery, calendar.php issue, footer, upgrade, logout, link, gender change, children, sanity, 3.1.1, 3.0.0, php 5.6, block, 500, album, library, edit menu, stories, missing data, white screen, timeout, add missing death, Administration

    Topic:   image path for HTML block  

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

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

      534 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.

      -----
      Kiwitrees:
      "A-D connections 3.3.0 (rev)"
      PHP 5.6.29 Fast CGI

      "The Royals 3.3.0.."
      PHP 7.0 Fast CGI
      mySQL server: 5.1.56
      MacOS: 10.11.6  (El Capitan)
      Browsers (mac): Safari  Version 10.1.1 (11603.2.5);  Firefox 53.0.2
      [updated: 22 May 2017]

      #4946
      kiwi
      kiwi
      Keymaster

      1431 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: https://kiwitrees.net/modifying-kiwitrees/make-story-module-images-open-in-colorbox/

      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.

      Nigel

      My personal kiwitrees site is www.our-families.info

    Viewing 2 posts - 1 through 2 (of 2 total)

    You must be logged in to reply to this topic.