vecnet / dl-discovery

Map based discovery interface for digital library records
Other
4 stars 3 forks source link

Add actual result thumbnails and default placeholder image #63

Closed stevenvandervalk closed 9 years ago

stevenvandervalk commented 9 years ago

Add correct thumbnail URLs and handle img load errors by js replace s…rc with placeholder image. (+12 squashed commits)

Squashed commits: [9e22b07] And again... [65e0cfc] Using asset_path instead of relative [19d6f8f] JS method to catch img error [0c07f2a] Still giving img errors a default placeholder [8d97dbc] Add the download link to the thumbnail [cbf183d] Specify path of placeholder image [95c2813] Background doesn't work, lets try onError event. [1d77d68] Try using background images with a fallback example thumbnail to deal with thumbnail image being empty. [f076cf7] Reference the key differently in views. [6ab3f0b] Add JSON parsing for download and related links and thumbnail.

[ee70c02] Map arrays not strings...

[4a2243f] Display related links URLs