Happy Dance! Renaming Media Files in TNG

Renaming media files does NOT mean uploading AGAIN!

Thus my happy dance. I took a chance this afternoon an Glory-E-Oz-Key (I have NO idea how that’s supposed to look when typed out) IT WORKED!!

You see — you cannot change the file name within The Next Generation of Genealogy Sitebuilding (TNG).

Here’s What I Did…

  1. I had a picture of a cemetery but the file name had a space in it. I’m old school…and used to the Unix world. File name example: Jone Graveyard.jpg

    The name of the cemetery should be “Jones” and not Jone but I did not take or name the original photograph.
    [pullquote align=”right” cite=”” link=”” color=”” class=”” size=””]The end use of this cemetery image is within the Notes of the Cemetery entry. It accepts HTML coding.[/pullquote]
    I also prefer the name “cemetery” to “graveyard” BUT I decided that since I did not originally name the file I would make it Jones but keep the word graveyard.
  2. In TNG I made all of my edits to the cemetery/graveyard picture. The source. The date (in this case only the year was available). I associated it with two people in my database. In other words, I completed everything to this image.This was a test and I thought that more data associated with the image would make it easier to spot errors.
    [box type=”info”] Within TNG I save Cemetery pictures in the Headstones Collection.[/box]
  3. I logged into my account on my hosting company and opened the cPanel.
  4. Next I clicked on File Manager.
  5. Used the Search of File Manager and entered the word graveyard making sure that search across all directories was turned on. [Much faster since I knew I didn’t have many files with that word.]
  6. Once found, I used the Rename capability of File Manager. Renamed file from:
    Jone Graveyard.jpg to Jones_Graveyard.jpg
  7. Returned to my still-open TNG media entry for the old “Jone Graveyard.jpg”.
  8. Clicked on the Browse button for the image. Found the new “Jones_Graveyard.jpg” image.
  9. Clicked on Save.

That is ALL it took for a rename. Not nearly as hard as I thought it would be. In fact, this is the best way for ME to work these renames.

Now all I have to do is add that image into the Notes of the Cemetery entry. This is the code for accomplishing that:

<img src="headstones/Jones_Graveyard.jpg" alt="Jones Cemetery (or graveyard)" width="250" height="189" style="float:left; padding: 0 10px 10px 0;"/>

If you want the image to be on the right — just change float:left to float:right
and the padding to padding: 0 0 10px 10px

Change the width & height appropriately. You can always make a larger image smaller this way. Don’t try it the other way–it will end up pixelated. Make sure that all symbols are used. Leave even one out and the results will not be ‘nice’. So always click on the Test option to ensure it looks the way you desire.