newtheatre / history-project

:scroll: Historical record of happenings at the Nottingham New Theatre.
https://history.newtheatre.org.uk
MIT License
17 stars 14 forks source link

Image url not avaliable for single small image: Ghetto #246

Open wjdp opened 9 years ago

wjdp commented 9 years ago

http://history.newtheatre.org.uk/years/09_10/ghetto/

Image url is not there so a href has a blank href attr, this causes the funky behaviour with the thickbox gallery (thumb disappears on click)

Thumbnail url is still present.

wjdp commented 9 years ago

Still very much a thing, is weird. All other albums are working.

- _site/years/09_10/ghetto/index.html
  *  anchor has no href attribute (line 215)
wjdp commented 9 years ago

Ghetto's cache file has:

"NTHP_Parsed": true,
"LargeImage": [
    "Uri",
    "/api/v2/image/Dg7GGwL-0!sizecustom?height=1000&width=1000"
],
"ThumbImage": [
    "Uri",
    "/api/v2/image/Dg7GGwL-0!sizecustom?height=300&width=300"
]

Whereas a normal image would be

"NTHP_Parsed": true,
"LargeImage": {
    "Uri": "/api/v2/image/75cS7sZ-0!sizecustom?height=1000&width=1000",
    "UriDescription": "Image size: custom",
    "Url": "https://photos.smugmug.com/201415/Not-About-Heroes-2015/i-75cS7sZ/0/1000x1000/1606466_10153104462636460_6451011369353578242_o-1000x1000.jpg",
    "RequestedHeight": 1000,
    "RequestedWidth": 1000,
    "Usable": true,
    "Ext": "jpg",
    "Watermarked": false
},
"ThumbImage": {
    "Uri": "/api/v2/image/75cS7sZ-0!sizecustom?height=300&width=300",
    "UriDescription": "Image size: custom",
    "Url": "https://photos.smugmug.com/201415/Not-About-Heroes-2015/i-75cS7sZ/0/300x300/1606466_10153104462636460_6451011369353578242_o-300x300.jpg",
    "RequestedHeight": 300,
    "RequestedWidth": 300,
    "Usable": true,
    "Ext": "jpg",
    "Watermarked": false
}

However playing with the API explorer does work: image

nhyty commented 8 years ago

Slightly more of an issue now, have got at least three other shows with single images and a couple with single video files