Skip to content

meta-data is image-specific #11

@sauy7

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

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