Skip to content
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

Exif support? #28

Open
killerbees19 opened this issue Sep 30, 2019 · 1 comment
Open

Exif support? #28

killerbees19 opened this issue Sep 30, 2019 · 1 comment

Comments

@killerbees19
Copy link

killerbees19 commented Sep 30, 2019

Feature request: Exif data support! 🤓 (exifModel, exifIso, exifFStop, exifExposure, …)

As far as I can see this is currently not supported for data providers, so it would be required to patch…

  • repository nanogallery2
    file jquery.nanogallery2.data_nano_photos_provider2.js
    at jQuery.nanogallery2.data_nano_photos_provider2.JsonParseData()

  • repository nano_photos_provider2
    file nano_photos_provider2.json.class.php
    at galleryJSON::PrepareData() or related functions

I've already tested this with static dummy data, seems to work. I'm completely new to this great project, please forgive me if I'm missing an important part.

tl;dr: Would you love to see such a feature? Is someone working on something similar?

@JepKoha
Copy link

JepKoha commented Nov 14, 2020

nano-provider-exif-support
As I needed that feature for my use, I patched my own nano_photos_provider2.json.class.php v1.2.0 and jquery.nanogallery2.js v2.4.2 for exif data support...
You may find updated code parts for the PHP class and JS file in attached txt file
nanogallery_photos_provider2-exif-data-support.txt
The idea is to fetch exif data in the file, populate a data array in the nano photo provider. Then array content populates exif data to be shown in the NanoGallery when informations are requested.
Hope this help.
Could certainly be improved, but works fine for me to display some exif data from photo files in the info popUp of a nanogallery. When upgraded, shows the expected exif data in NanoGallery when available.
Enjoy !
(By the way, to all contributors : Great App !-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants