Hi I did it by inserting an anchor in the anchor.
Version: 3.1.6
File: flickr-photostream.php
Replace lines 328 to 330 with the following code:
// Saurabh: revised this to show link to flickr.
$ris .= '<img title="' . htmlspecialchars($photo['title'], ENT_QUOTES, 'UTF-8')
. '" alt="' . htmlspecialchars($photo['title'], ENT_QUOTES, 'UTF-8') . ' ? <a class="view-on-flickr" href="https://www.flickr.com/photos/' . $photo['owner'] . '/' . $photo['id'] . '" target="_blank">View on Flickr</a>'
. '" src="' . $f->buildPhotoURL($photo, $imgSize)
. '" data-safe-src="' . $f->buildPhotoURL($photo, $imgSize) . '" /></a>';
If this doesn’t work let me know. I can update entire file somewhere.
Regards,
Saurabh