Fandom

Resighting Wiki

Evidence Object

71pages on
this wiki
Add New Page
Comments0 Share

The Evidence object describes an evidence image attached to a Sighting.

On the website we show evidence thumbnails at 48x48 pixels and other evidence images at varying sizes depending upon where they are being shown but we store only the original uncropped image and crop and resize it each time it is displayed. If you wish to crop and/or resize evidence images see Images.

Note that there can be a short delay after uploading evidence before it becomes available for serving. Therefore the Evidence object may be present without a serving url.

AttributesEdit

Name Type Mandatory Description
evidence_serving_url String No

The url where the Sighting’s evidence can be retrieved. This url is not suitable for long-term caching as it will change if the evidence is changed.

Note that there can be a short delay after uploading evidence before it becomes available for serving. Therefore the Evidence object may be present without a serving url.

evidence_width Integer Yes

The width of the stored evidence image. See note above about cropping and resizing images.

evidence_height Integer Yes The height of the stored evidence image. See note above about cropping and resizing images.

evidence_exif_tags

Object No

The EXIF tags which were extracted from the evidence image.

Care must be taken with these, they are provided as they were found in the image and their accuracy cannot be guaranteed. It is especially worthy of note that the ImageWidth and ImageLength tags won't have been updated when Resighting resized the image - use the evidence_width and evidence_height attributes instead.

Also note that if the original image included latitude, longitude and altitude tags, they will have been removed.

ExampleEdit

{
    "evidence_width": 448,
    "evidence_height": 600,
    "evidence_exif_tags": {
        "YResolution": "72",
        "ResolutionUnit": "2",
        "Make": "Apple",
        "Flash": "0",
        "DateTime": "2012:01:29 21:42:52",
        "MeteringMode": "5",
        "XResolution": "72",
        "MimeType": "0",
        "ColorProfile": "True",
        "ExposureProgram": "2",
        "ShutterSpeedValue": "3.9112",
        "ColorSpace": "1",
        "DateTimeDigitized": "2012:01:29 15:40:17",
        "ApertureValue": "2.9708536",
        "ImageWidth": "1935",
        "SensingMethod": "2",
        "FNumber": "2.8",
        "DateTimeOriginal": "1327851617",
        "FocalLength": "3.8499999",
        "ISOSpeedRatings": "500",
        "Model": "iPhone 4",
        "Software": "QuickTime 7.6.6",
        "ExposureTime": "0.06666667",
        "ImageLength": "2592",
        "Orientation": "1",
        "HostComputer": "Mac OS X 10.6.8",
        "DateCreated": "2012:01:29 15:40:17",
        "YCbCrPositioning": "1"
    },
    "evidence_serving_url": "http://lh4.ggpht.com/MOs4c4UFgupWK2zDDVeWWLjgQ7jlpiRzNq63a-ZrrtBZJ8OfnBboEmxBUz_Je9x8DtBSyrBOicWEM6RRqeY"
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.