How to add url link to web cam image and open new page when clicked

I would like to change behaviour when clicking of one of my web cam images (i.e. web cam 3) to open an external webpage in a new tab instead of showing image in full screen.

I suspect the change could be made in line 62 in webcam2_c_block.php, but I would like to get some advice from a php devloper (Iā€™m not :frowning: )

if (file_exists ($click_large) )
     {  echo '<a href="'.$click_large.'" data-featherlight="iframe" title="WEATHERSTATION WEBCAM">'.PHP_EOL;}

I found away to handle this. @pwsdashboard might not be correct, but works :slight_smile:

Webcam3_c_block.php lines 61 to 64
if (file_exists ($click_large) )
     {  echo '<a href="'.$click_large.'" data-featherlight="iframe" title="WEATHERSTATION WEBCAM">'.PHP_EOL;}
elseif ($click_large === 'image')
 	 {  echo '<a href="https://target page/" target= "_blank">'.PHP_EOL;}  #target= "_blank" open page in new tab
#     {  echo '<a href="image_popup.php?nr=wcam3" data-featherlight="iframe" title="WEATHERSTATION WEBCAM">'.PHP_EOL;}