Open johnvanbreda opened 4 years ago
Just realised that this affects the new photo verification page, which includes Mammal Mapper records but does not display the photos. The icons are shown, but they cannot be opened by a normal click (although they can by a right-click).
Where photos are attached to records imported from Coreo a link is stored in the occurrence_media.path field, e.g.:
https://coreo.imgix.net/27/1558622703063_sighting_photo_1.jpg
. These images display as a generic icon in grids and on the old verification media tab.The grid, media and record details tab code should make use of knowledge that links under https://coreo.imgix.net are images to correctly generate thumbnails in the grids and on the media tab. Note that the URL can have w(idth) and h(eight) parameters in pixels for resizing.