Skip to content
This repository was archived by the owner on Jul 21, 2019. It is now read-only.
This repository was archived by the owner on Jul 21, 2019. It is now read-only.

check for organizer image files if they are claimed to exist #573

Open

Description

@bridgetkromhout

Expected behavior

If organizer images don't exist in the repo, don't try to show them (even if the config yml claims they exist).

Actual behavior

Broken images:

screen shot 2017-06-28 at 10 56 05 am

Reproduction Steps

Claim organizer image exists but don't put it in repo.

Activity

  1. modified the milestone: on Jun 28, 2017
  2. mattstratton commented on Jul 25, 2017

    @mattstratton
    Member

    This likely should be extended to include speaker images, as well as sharing images (and some others that it hasn't occurred to me yet).

  3. bridgetkromhout commented on Sep 5, 2018

    @bridgetkromhout
    ContributorAuthor

    Makes sense!

  4. somatorio commented on Oct 24, 2018

    @somatorio

    i can help with that :)
    just a question, what do you think is better: fail silently simply skipping the img tag or use errorf to make an error log and fail the build?

    i'm tending to fail the build, but i think it's always better to ask when in doubt

  5. added a commit that references this issue on Oct 25, 2018
    247c368
  6. bridgetkromhout commented on Nov 3, 2018

    @bridgetkromhout
    ContributorAuthor

    I am not sure we'd want to fail a build - I'd rather display a default image (which, if they don't like, they can replace).

  7. mattstratton commented on Nov 3, 2018

    @mattstratton
    Member

    We wouldn't fail the build if they left off an image - we fail it if they enter an image in the config but then the image is not there (i.e., I specify matt-stratton.png but forget to put the file in the repo, or misspell the file name, etc).

    So I vote for failing the build. It's an error that is being caught, so it should fail.

  8. somatorio commented on Nov 5, 2018

    @somatorio

    yeah, if the image is not set at data/events/yyyy-city.yml the theme already uses a default image as far as i could see :)

  9. added a commit that references this issue on Dec 10, 2018
    13ef2b2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions