I have tried to open the image in a new tab, but instead of opening it keeps downloading
image src URL comes from DB as it is stored on an s3 bucket
src: "https://****.s3.us-east-2.amazonaws.com/cat_1665033741880.png"
Code:
<a href="<?php echo $image_src?>" target="_blank">Preview</a>
How to open image in new tab?