Sorry about that Carl - by the way, my name is Bruce and I love your diligence.
I finally got round to checking out your new IPTC fields and have the following report to make:
1. 8/10 Ain't bad!
2. See below... I have appended a working
data-embed-popup-caption-template and can happily report that 8 out of 10 fields work perfectly. The two fields which don't work are
sub-location and
province-state.
3. Initially, nothing displayed at all - I believe this was because of the hyphens in the field name, so I dropped the hyphens. I then got 8 fields to display.
4. After dropping the hyphens I renamed the two fields to
subLocation and
provinceState . I did this in both
data-embed-popup-caption-template and also in
files.php. Definitely above and beyond my skill set, but a bit of copying and pasting with Notepad Plus Plus is quite useful sometimes!
5. It seems it's not just the hyphens - something else in files.php is not quite right.
6. For what it's worth and from a selfish, personal level, these issues are unlikely to be an issue to me as Google's core C C C s (Creator, Credit and Copyright) are in place and work perfectly.
T H A N K S.
data-embed-popup-caption-template="
<!--Testing-->
{{ @if (image.iptc) }}
{{ @if (image.iptc.title) }} <!-- [Exif Pilot: Object Name] [Irfanview: Document Title] -->
<div class='popup-title'>{{ image.iptc.title }}</div>
{{/if}}
{{ @if (image.iptc.headline) }} <!-- [Exif Pilot: Headline] [Irfanview: Headline] -->
<div class='popup-title'>{{ image.iptc.headline }}</div>
{{/if}}
{{ @if (image.iptc.description) }} <!-- [Exif Pilot: Caption] [Irfanview: Caption (Description)] -->
<div class='popup-description'>{{ image.iptc.description }}</div>
{{/if}}
{{ @if (image.iptc.creator) }} <!-- [Exif Pilot: Byline Title] [Irfanview: Author Title] -->
<div class='popup-description'>{{ image.iptc.creator }}</div>
{{/if}}
{{ @if (image.iptc.credit) }} <!-- [Exif Pilot: Credit] [Irfanview: Credit] -->
<div class='popup-description'>{{ image.iptc.credit }}</div>
{{/if}}
{{ @if (image.iptc.copyright) }} <!-- [Exif Pilot: Copyright] [Irfanview: Copyright] -->
<div class='popup-title'>{{ image.iptc.copyright }}</div>
{{/if}}
{{ @if (image.iptc.keywords) }} <!-- Exif Pilot: Keywords tab -->
<div class='popup-description'>{{ image.iptc.keywords }}</div>
{{/if}}
{{ @if (image.iptc.city) }} <!-- [Irfanview: City] -->
<div class='popup-description'>{{ image.iptc.city }}</div>
{{/if}}
<!--******************************************************* -->
<!-- hyphens were removed both here and in the files.php app, but the following 2 IPTC codes do not work just yet-->
{{ @if (image.iptc.subLocation) }} <!-- [Irfanview: Sublocation] (sub-location in files.php) -->
<div class='popup-description'>{{ image.iptc.subLocation }}</div>
{{/if}}
{{ @if (image.iptc.provinceState) }} <!-- [Irfanview: Province-State] (province-state in files.php)-->
<div class='popup-description'>{{ image.iptc.provinceState }}</div>
{{/if}}
<!--******************************************************* -->
{{/if}}
"