![]() |
|
EXIF Data - how to display time of day - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: EXIF Data - how to display time of day (/thread-13282.html) |
EXIF Data - how to display time of day - tplowe56 - 2019-02-21 I previously had modified some code so the EXIF "Original Time Taken" included date and time. Now with zpBootstrap I only get Date displayed. Is this something I modify in the ZP code or in the Theme code? I forgot how I did this. Thanks. EXIF Data - how to display time of day - acrylian - 2019-02-21 There are options what meta data should be shown, assuming the theme uses the standard functions for this. EXIF Data - how to display time of day - tplowe56 - 2019-02-21 Acrylian, my database clearly has the time of day stored but the array in zpcore code seems to be stripping off the time of day before it is presented by themes. Not a single theme shows the Time of Day. All themes only show date.
EXIF Data - how to display time of day - tplowe56 - 2019-02-21 Sometimes I will reference the Time taken when I revisit a certain location again, and I am evaluating the light/time of day. EXIF Data - how to display time of day - acrylian - 2019-02-21 You wrote:
You mean you hacked a core file or you modified on the theme? In any case there is a standard image meta data function (search the documentation or template-functions.php for the right name). What it displays on the theme is set on the related options. Generally EXIF is not a real standard and camera vendors often do their own thing. Might be the case here. We haven't changed anything significant in EXIF handling for some time. EXIF Data - how to display time of day - tplowe56 - 2019-02-21 Not sure what I did, I can't find any reference in my files, or posts here on this forum. I do know that in zpArdoise I used to have the full field of the Original Time Taken displayed, now it only displays the Date. EXIF Data - how to display time of day - acrylian - 2019-02-21 The field is in any case a EXIF field that exists by default in the database. I can only assume you haven't enabled it for dispaly. Or it is not imported which is also a setting and therefore not shown EXIF Data - how to display time of day - tplowe56 - 2019-02-21 What is odd, is that every theme shows only the first 1/2 of the fields below, date, but not the time, on the front end, but the time is showing in the back end. Metadata fields are correctly selected in the back end. There is no theme option to show only part of a metadata field, so why does it happen so consistently?
Metadata in my images is formatted exactly as is shown in the code above from exif.php EXIF Data - how to display time of day - acrylian - 2019-02-22
I honestly cannot answer. We did change the type of metadata fields in 1.5.1 as there was an add character limit of 32 chars that is not fitting anymore:
But if you say the backend shows it correctly that cannot be the issue. We'll try to reproduce this. EXIF Data - how to display time of day - tplowe56 - 2019-04-21 Wondering if you guys ever had a chance to look into this? I have everything perfected on my site, this is the last issue I'd like to fix. EXIF Data - how to display time of day - acrylian - 2019-04-21 Sorry, this apparently got lost within other stuff… Please send me an image via mail so I can try with the same data you have. EXIF Data - how to display time of day - tplowe56 - 2019-04-22 Malte, Thanks you were correct.
I found the setting at Options > General > Date Format. Sorry I don't remember ever seeing that option, but it was there right in front of me the whole time. It looks like I can customize to 12 hr time too. Thanks so much!! Sorry for taking your time with this. EXIF Data - how to display time of day - tplowe56 - 2019-04-22 Using the custom field: %B %d, %Y %l:%M %P = March 17, 2019 6:24 pm For anyone who is interested in displaying a 12hr format EXIF Data - how to display time of day - acrylian - 2019-04-22 Glad it was that easy! No problem, believe me this happens to us as well every now and then ;-) |