photography icon indicating copy to clipboard operation
photography copied to clipboard

Modifying EXIF displayed?

Open palermog opened this issue 6 years ago • 5 comments

Thanks so much for making this available!

I'm wondering if you could edit the ReadMe to provide some more information about how to modify the EXIF. It looks, from assets/js/exif.js that there are a number of options?

palermog avatar Sep 30 '18 21:09 palermog

Hey, what kind of modification you need in EXIF data? Isn't the EXIF data supposed to be extracted from the image?

rampatra avatar Jan 17 '19 14:01 rampatra

It would be nice to be able to display, for example, focal length, capture date, or whatever else, on the image along with or instead of camera and exposure info.

On Thu, Jan 17, 2019 at 09:51 Ram [email protected] wrote:

Hey, what kind of modification you need in EXIF data? Isn't the EXIF data supposed to be extracted from the image?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rampatra/photography/issues/23#issuecomment-455198683, or mute the thread https://github.com/notifications/unsubscribe-auth/AYMjR7UIXn76_p1AuLnxUKluJ6q6HJ3Xks5vEI3sgaJpZM4XBKgK .

palermog avatar Jan 19 '19 00:01 palermog

I would like that too. We can add comments to the EXIF that show a title of the image, and/or tell a short story of the way the image was made in a few words.

And thanks for making this!

learningdotnet17 avatar Feb 03 '19 16:02 learningdotnet17

I'm attempting to add the date and time that a photograph was taken to the EXIF data. I have added the following code so far to the main.js file in the gh-pages branch:

function getExifDataMarkup(img)

 if (info === "date_time") {
                    template += '<i class="fa fa-calendar-alt" aria-hidden="true"></i> ' + exif["date_time"] + '&nbsp;&nbsp;';
                }

function fetchExifData(img)

 if (EXIF.getTag(img, "DateTimeOriginal") !== undefined) {
                exifData.date_time = EXIF.getTag(img, "DateTimeOriginal");
            }

However, the date and time isn't showing up. Is there something else I need to add/modify in order for the date and time to show up in the EXIF data?

Thank you for making this Ram!

sokolj1 avatar Feb 22 '19 12:02 sokolj1

I was thinking of something similar. I have updated the gulp.js to copy the full-res images into a third folder. My idea is then to add a download link to the end of the EXIF data. I did pretty much what @sokolj1 did but still can't see my addition.

FrasSmith avatar Aug 24 '19 04:08 FrasSmith