Skip to content

meta-data is image-specific #11

Description

@sauy7

Not every file upload is an image so height and width are not always relevant:

lib/paperdragon/file.rb
def default_metadata_for(job)
  {:width => job.width, :height => job.height, :uid => uid}#, :content_type => job.mime_type}
end

breaks when job has no width/height

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions