Search Forums
Forums
Kiwitrees on Twitter
    Tags

    server, calendar, data errors, cookie, FAQ, 3.0.0, autocomplete, language, login failure, Favourites, clippings cart, MYSQL, zend, spouse, .mo, GEDCOM errors, design, individual resource, ID facts, inactive, php 7, descendants, login upgrade, notes, redirect, custom modules, .po, Relationship, dropbox. token, album, message contactform, birth, not married, icons, relationships, administration pages, roadmap, installation, family fact, access roles, defacto, event, shared note, permissions, title, googlemaps, illegitimate, help, add missing death, custom text, HTML block, footer, spam, errors, IE problem, emmigration, edit menu, random_media, F.A.B., places

    Topic:   image path for HTML block  

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

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

      544 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.1"
      PHP 7.0 Fast CGI

      "The Royals 3.3.1"
      PHP 7.0 Fast CGI
      mySQL server: 5.1.56
      MacOS: 10.11.6  (El Capitan)
      Browsers (mac): Safari  Version 11.0;  Firefox 55.0.3
      [updated: 22 Sep 2017]

      #4946
      kiwi
      kiwi
      Keymaster

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