AUI-1334 Image viewer thumbnails link to wrong image