Navigation Menu

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

include camera model and shorten exif stats #280

Merged
merged 5 commits into from Jan 8, 2018
Merged

Commits on Dec 31, 2017

  1. include camera model and shorten exif stats

    This adds a line to show the camera model and make, if available, and
    reorders and cleans up the EXIF parameters extracted so they are more
    readable for photographers (who are the ones who care about this
    anyways).
    
    Note that, as a photographer, I know what "Fstop" mean, but I would
    expect "exposure" or the common f/X.Y notation. The "Focal" label
    means nothing to me: "Focal length" would mean something, but it's
    long - and what are the units? Just using "mm" here clarifies any
    possible misunderstanding.
    
    I have found this format to be way more readable. The following:
    
        ISO: 3200, Focal: 50, Exposure: 1/40, Fstop: 4.0
        Date: dimanche, 31. décembre 2017
    
    Becomes:
    
        ISO 3200, 1/40s f/4.0, 50mm
        FUJIFILM X-T2
        dimanche, 31. décembre 2017
    
    Now: dropping the explicit labels may be controversial, but I would
    argue this is what markup is for. We could wrap those elements in
    named <span> or <acronym> elements to provide more information through
    mouse-over or CSS.
    anarcat committed Dec 31, 2017
    Copy the full SHA
    2e32412 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2018

  1. use abbr to explain what the metadata fields are

    Keep the normal font for browsers that switch to smallcaps, as
    suggested by MDN:
    
    https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
    
    We remove the dotted line normalization currently configured in the
    `normalize.css` file because it actually creates a *second* dotted
    line in Firefox 57. The directive there is `text-decoration` which is
    what we disable here instead. It looks better without any dotted line.
    
    We leave the trailing commas and strings like `ISO`, `f/` or `mm` but
    those could also be managed through CSS. `<br>` tags may similarly be
    managed better through CSS as well.
    anarcat committed Jan 3, 2018
    Copy the full SHA
    48c064d View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2018

  1. move CSS change to theme-specific file

    This way our changes will survive eventual normalize.css updates.
    anarcat committed Jan 7, 2018
    Copy the full SHA
    24564d5 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    8ea0336 View commit details
    Browse the repository at this point in the history
  3. move layout and metadata suffixes to CSS

    This way this can be override by client-side CSS or more easily controled through the theme
    anarcat committed Jan 7, 2018
    Copy the full SHA
    2d5cd23 View commit details
    Browse the repository at this point in the history