adding optional original image link to gallery thumbs