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

ngexiftime format #78

Closed
jee-r opened this issue Nov 28, 2017 · 3 comments
Closed

ngexiftime format #78

jee-r opened this issue Nov 28, 2017 · 3 comments

Comments

@jee-r
Copy link

jee-r commented Nov 28, 2017

Hi,
First of all thank youso much for nanogallery. I'm actually trying to integrate exif data in Markup, everything work fine but i can't firgured out with the "ngexiftime"

<section id="photo">
      <div id="nanogallery2" data-nanogallery2='{
        "thumbnailWidth": "194",
        "thumbnailHeight": "auto",
        "thumbnailBorderHorizontal": "0",
        "thumbnailBorderVertical": "0",
        "thumbnailGutterWidth": 4,
        "thumbnailGutterHeight": 4,
        "thumbnailAlignment": "fullWidth",
        "thumbnailLabel": {
          "display": true,
          "displayDescription": false,
          "position": "overImageOnBottom",
          "align": "center",
          "hideIcons": true
        },
        "thumbnailHoverEffect2": "imageGrayOn|labelAppear75",
        "galleryTheme": "dark",
        "gallerySorting": "random",
        "galleryDisplayMode": "moreButton",
        "galleryDisplayMoreStep": 3,
        "galleryFilterTags": true,
        "displayBreadcrumb": true,
        "breadcrumbOnlyCurrentLevel": false,
        "breadcrumbHideIcons": false,
        "locationHash": true,
        "allowHTMLinData": false,
        "viewerTheme": "dark",
        "itemsbaseurl": "http://localhost:4000/photos/"
        }'>
        
          <a href="/static/photos/image_1.jpg" data-ngthumb="/static/photos/thumbs/image_1.jpg"  data-ngdesc="Awesome image" data-ngtags="test" data-ngexifmodel="NIKON D40" data-ngexifflash="0" data-ngexiffocallength="480/10" data-ngexiffstop="220/10" data-ngexifexposure="10/8000" data-ngexifiso="400" data-ngexiftime="2017:10:19 16:06:23" data-ngexiflocation="" >a_cow_and_a_tank</a>
      </div>
</section>

For data-ngexiftime="2017:10:19 16:06:23" have try may be not all but many format YYYY-MM-DD HH:MM:SS, DD/MM/YYYY HH:MM:SS etc ... please what is exactly the date/time format that nanogallery2 need ?

Thank you

@Kris-B
Copy link
Member

Kris-B commented Nov 29, 2017

Hi @flip-bs
I just removed date/time formating for less problems. It's now handeld as string.
You can check it in the DEV-branch: https://github.com/nanostudio-org/nanogallery2/tree/dev

@Kris-B
Copy link
Member

Kris-B commented Dec 1, 2017

final version released: https://github.com/nanostudio-org/nanogallery2/releases/tag/v2.0.0

@jee-r
Copy link
Author

jee-r commented Dec 1, 2017

Merci beaucoup Christophe.

@jee-r jee-r closed this as completed Dec 1, 2017
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