-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images Missing "Date/Time Original" All Arbitrarily Assigned the Same Date #872
Comments
@grasdk do you think this might be related to my other issue? It seems when that field is missing it never moves to the next date/time field |
Hey. Yes it can be related in the manner that your unaltered pictures store their date in a field not read by pigallery. There are an insane amount of date fields. Can you provide a sample, or if not, then maybe show the output of running exiftool on one of the pictures? For example this command could provide useful info
|
@grasdk for instance, the previous image I submitted had it's date changed to some date in 1900 in lightroom, however this image never had it's capture date changed and instead should only include the date it was scanned into the computer |
thanks. It's a bug. The timestamp is actually stored in a field that is read already, but there is a bug in the code where the formatted timestamp is converted into a MS value. It can easily be fixed, so I'll make sure to make a PR for that very soon. |
@grasdk Thanks, just to be clear, "Date Created" will still take precedence over "Create Date," correct? |
I think so, but I will try and make it clear with the PR. The tags have different names than the ones you mention, which are shown by your OS or image viewer. In your photo, the tag |
In the photo I posted on the other thread, there is a tag in exiftool called "Date Created" as well as one called "Date/Time Original" (both have the same values) that are targeted when you use lightroom to updated the image dates. These should take precedence over "xmp:CreateDate," which is the tag currently not being read |
I agree: The photo with the dog has these 3 tags:
The metadata of the other photo from the other thread, does indeed have two other tags:
NB: There is much more metadata in the two photos than copied here, but these are all the dates. |
Perfect, exactly what I need it to do. Currently I had to let users knows that yes, Im aware these people didnt exist in the 70's, please dont email me about them XD |
I have a new PR here: #874. I added a test to show the problem and that it is solved. I actually discovered an extra bug this way. :) It will probably conflict with my other PR because they both change both Utils.ts and MetadataLoaderSpec.ts, so there is probably a bit of extra work in either PR. |
@grainsoflight this should be fixed in next edge build |
@grasdk awesome, thanks! I noticed an update today but that must not be it because I didnt see any changes |
Let me know if it still doesn't work after next update :-) |
@grasdk I saw there was an update today, though there was no change |
Hey. It was merged 5 days ago, and I just ran your photo through the code from current master branch: Could it be the image? only edge-alpine has been updated: https://hub.docker.com/r/bpatrik/pigallery2/tags/ |
Hmm, thats the branch I am pulling from, I dont see any changes as far as dates or captions |
I did confirm from within the program that is April 9th's build |
Same for me (but it shows the timestamp in my timezone both commit id etc is the same. |
also checked on mobile. All ok with the date there aswell ¯_(ツ)_/¯ |
Could it be some browser caching? Try another browser or device, just to be sure. |
I tried on both my pc and phone
…On Wed, Apr 10, 2024, 1:01 AM grasdk ***@***.***> wrote:
Could it be some browser caching? Try another browser or device, just to
be sure.
—
Reply to this email directly, view it on GitHub
<#872 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHANMY4MXVABJU3KZ43NIP3Y4TIR3AVCNFSM6AAAAABFSR3GHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWGU4TINBZGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ok. Then I'm out of ideas except as you said, try from scratch. Luckily pigallery does not rely on the database as such. So you'll only loose your settings and your time for indexing. Perhaps try out with a second container first with a small album, before you scrap the one you use now? Edit: Got one more idea: Try reindexing under settings? |
Reindexing didnt work either, complete rebuild of the container did though. Thanks for all your help, looks like everything is working |
Thanks, I'm glad to hear! :) |
@bpatrik @grainsoflight Suggesting this to be closed, as previous comments indicate the issue is fixed in edge version. |
Thank you for the help! |
I have 2000+ Images in my collection, many of which have had the "Date/TIme Original" Metadata altered in lightroom with dates ranging from 1-1-1900 to present. Everything that was altered shows up correctly. However anything that I did not make any changes to from the metadata that was written when I scanned the image gets dumped into 1-1-1970 on the timeline. When opening the information tab, there is no date info to suggest it should be in the 1970's, and when read in lightroom the image dates will be from sometime in the last 3 years when they were scanned.
Environment (please complete the following information):
Used app version:
The text was updated successfully, but these errors were encountered: