Author
Reply
  • #4178

    The problem lies in my ‘front-end’ scripts which still refer to the media files in their ‘old’ location. I know I must deal with this but there are rather a lot of scripts to change and I keep finding excuses for not doing it just yet! But you’re absolutely right and I shall have to attack it very soon.

    That’s a different issue. You can keep those items wherever you like, so /media is fine. It just means you cannot / should not also have them connected to any family tree record. If they are simply used as “decorative items” in a publicly viewable front page (i.e. not really part of kiwitrees at all) then they can stay where they are.

    But you shouldn’t have “proper” family tree media items there as well. The only complication arises when you try to use a media item for both purposes.

    But similarly, if you want all media items in one place, then you can convert them to media objects (i.e. ensure they are OBJE records in your GEDCOM data, and refer to them on your front end pages with a link like

    img src=”mediafirewall.php?mid=M738″

    (see http://kiwitrees.net/modifying-kiwitrees/make-story-module-images-open-in-colorbox/ )

    However their Media ids M75, M76 etc still exist, so a search by media id finds an entry somewhere (in a DB table?), showing their full file name but presents the ‘file does not exist’ message. Similarly a List-Media Objects lists them but indicates ‘file does not exist’ So I need to clean those five media items out of the table. Not sure how I find it – can you please advise Nigel.

    You should find them in Administration>Media >Manage media and be able to delete them from there. You can enter the file name or part of it in the “Filter” box.

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