thumbsup icon indicating copy to clipboard operation
thumbsup copied to clipboard

New Metaview Plugin for Lightgallery

Open zibous opened this issue 6 years ago • 0 comments

Feature request

Thumbsup version: Latest
Node version: v11.14.0
NPM version: 6.9.0
Operating system: macOS High Sierra

metadata.js To get all metadata please add "this.all"

    class Metadata {
    constructor(exiftool, picasa, opts) {
     .....
      this.exif = opts ? (opts.embedExif ? exiftool.EXIF : undefined) : undefined

      ////////////////////////////////////////////////////////
      this.all = exiftool // <--- Add this to get all metadata
      ////////////////////////////////////////////////////////

          // metadata could also include fields like
          //  - lat = 51.5
          //  - long = 0.12
          //  - country = "England"
          //  - city = "London"
          //  - aperture = 1.8

photo_metadata

Metaview Plugin for Lightgallery Works with "data-[attribute]". and json meta files.

@rprieto Currently i copy / create the meta json file while templating. This is not very performant and it would be better if it could be created by thumbsUp during processing (see https://bitbucket.org/peter_siebler/theme-cards-flow/src/master/theme/helpers/photoMeta.js).

Theme theme-cards-flow use this new plugin https://bitbucket.org/peter_siebler/theme-cards-flow/src/master/theme/helpers/

zibous avatar Jun 14 '19 09:06 zibous