I have made a modified template for B,M, D for a diagram that will be given to other people.
If the person is 'Living' then the name shows as 'Living, and BMD are not shown
However I would like to hide the photograph of 'Living' people but can't see how to do that.
Any suggestions much appreciated.
Dave
* Diagram - Hide Photo if Living
-
- Famous
- Posts: 166
- Joined: 26 Feb 2004 13:07
- Family Historian: V7
- Location: Lincolnshire
- Contact:
Diagram - Hide Photo if Living
Dave Simpson ~ Boulton, Braham, Carney, Simpson and Jacobs
- tatewise
- Megastar
- Posts: 28414
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Diagram - Hide Photo if Living
Theoretically, if you Edit the <picture marker> in the Text Scheme it should be possible to make it conditional on the Flag Condition of say the Living flag.
However, it does not work and I reported that to Calico Pie over 3 years ago.
You could try reporting it again explaining why it is important, and it might get fixed in FH V7.
It will not be easy to hide such photos, especially if you have several per living person.
The only method I can think of is on their Media tab, Edit each photo, and tick Exclude from Diagrams.
Having produced and saved the Diagram you can undo the changes with File > Backup/Restore > Revert to Snapshot.
However, it does not work and I reported that to Calico Pie over 3 years ago.
You could try reporting it again explaining why it is important, and it might get fixed in FH V7.
It will not be easy to hide such photos, especially if you have several per living person.
The only method I can think of is on their Media tab, Edit each photo, and tick Exclude from Diagrams.
Having produced and saved the Diagram you can undo the changes with File > Backup/Restore > Revert to Snapshot.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Diagram - Hide Photo if Living
Another way to tackle this might be through "Command Line" changes
1) Create an Image "Nil Portrait" that has nothing other than "suitable text" - say "Living Person - Image withheld"
2) Whenever you create an image of someone living preface the actual file name with "Living"
3) Create a set of "Nil Portrait" images for each living person - in a different folder - where the file names are identical to the actual portrait images. In Windows the command line "FOR" command (similar in Linux) would enable you to do this from one command.
4) Create two batch files which will:
A) Prior to viewing a diagram where you want to "hide portraits":
i) copy all "Living*.jpg" to a temporary folder
ii) overwrite all "Living*.jpg" images - in your media folder - with their identically named "Nil Portrait" versions
B) After viewing a diagram where you want to "hide portraits":
i) overwrite the "Nil Portrait" "Living*.jpg" images - in your media folder - with the identically named actual portrait versions from the temporary folder.
Just don't run batch file A twice in succession!
1) Create an Image "Nil Portrait" that has nothing other than "suitable text" - say "Living Person - Image withheld"
2) Whenever you create an image of someone living preface the actual file name with "Living"
3) Create a set of "Nil Portrait" images for each living person - in a different folder - where the file names are identical to the actual portrait images. In Windows the command line "FOR" command (similar in Linux) would enable you to do this from one command.
4) Create two batch files which will:
A) Prior to viewing a diagram where you want to "hide portraits":
i) copy all "Living*.jpg" to a temporary folder
ii) overwrite all "Living*.jpg" images - in your media folder - with their identically named "Nil Portrait" versions
B) After viewing a diagram where you want to "hide portraits":
i) overwrite the "Nil Portrait" "Living*.jpg" images - in your media folder - with the identically named actual portrait versions from the temporary folder.
Just don't run batch file A twice in succession!
David
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
Running FH 6.2.7. Under Wine on Linux (Ubuntu 22.04 LTS + LXDE 11)
- Jane
- Site Admin
- Posts: 8514
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Re: Diagram - Hide Photo if Living
There is an easier way, if you display the diagram, then select all the "living" boxes using the Set Marks with Query option and then right click on one of the boxes and set the Picture option to None.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
-
- Famous
- Posts: 166
- Joined: 26 Feb 2004 13:07
- Family Historian: V7
- Location: Lincolnshire
- Contact:
Re: Diagram - Hide Photo if Living
Thanks for that.
Calico Pie have just given me the same advise about using a query to hide photos.
Calico Pie have just given me the same advise about using a query to hide photos.
Dave Simpson ~ Boulton, Braham, Carney, Simpson and Jacobs
-
- Famous
- Posts: 166
- Joined: 26 Feb 2004 13:07
- Family Historian: V7
- Location: Lincolnshire
- Contact:
Re: Diagram - Hide Photo if Living
This is the guidance received from Ros at Family Historian Support. It works well.
It's not possible to do it in a Single step, but you can work around the problem as follows.
Get your diagram displayed.
Then select Diagram>Set/Clear Marks using Query
Select the "Has Flag" Query and then select "Living" when prompted for the flag.
All the living boxes will highlight and be selected.
Right click on one of the highlighted boxes and select "Format"
Then in the Pictures section select None
Then finally go to the Diagram menu Set/Clear Marks and select Clear Marks.
You can then save your diagram as a Chart for future use.
Dave Simpson ~ Boulton, Braham, Carney, Simpson and Jacobs