Blogs
Our community blogs
-
- 35
entries - 0
comments - 22719
views
Recent Entries
Latest Entry
Cropping
New in GEDCOM 7.0 and TNG v15 is the ability to crop a photo for one or more of the people linked to that photo. That means you can have a group photo but only show a portion of the photo for any person seen there.
Advantages
Now you can focus in on a face or just a specific zone in the photo without creating a new image just for that purpose. A good use might be for default photos (the ones seen on charts or at the top of any person-specific page).
Tradeoffs
The cropping is done when the photo is displayed, so the entire image must still be loaded each time it is used, even if you don’t see it all. Also, you can’t link a photo to the same person twice, so if you want to show a group shot and a cropped version for the same person, you will still need two different image files and two corresponding media records.
How it’s done
One way is to do the cropping in another program and have the dimensions come in via GEDCOM import. Of course the other program must be able to export the crop parameters according to GEDCOM 7 standards. These numbers are then stored in the tng_medialinks table.

The other way is to enter the coordinates by hand. Go to Admin/Media and edit the desired media record, then scroll down to the Media Links section. Edit one of the links (add one first if necessary), then add the crop parameters in the popup window.

This is a still a little clunky in TNG 15, as it requires you to know the exact numbers (or make an educated guess). If you don’t get it right the first time, come back and edit the numbers again. The ability to crop by dragging a box would certainly improve this feature if added in the future.
Cropping vs. Image Tags
Please note that image tags are not the same as cropped images. You *can* create an image tag for a specific part of an image by dragging a box over the desired area, but you cannot directly edit the resulting coordinates or dimensions. Image tags do not prevent visitors from seeing the rest of the image, and image tags cannot be used as default photos.
- Read more...
- 0 comments
- 35
-
- 3
entries - 0
comments - 7190
views
Recent Entries
Support / Feedback / Bugs
We have enabled a support queue, which will allow you to submit questions to TNG Community Administrators. Please use this support queue to obtain help related to this site.
The feedback and bugs area is still here, just placed under the support menu.

- Read more...
- 0 comments
- 3