locked
How to add the link to the images from the file system RRS feed

  • Question

  • User-401818107 posted

    Hi expert, If my images are stored in the files system and my images are displayed as <img src="images/<%=id%>/<%= System.IO.Path.GetFileName(file) %>">

    How to add the hyperlink to link the images from the file system in the next page.

    Thank you!

    Thursday, December 20, 2018 5:05 AM

Answers

  • User-2054057000 posted

    Add anchor tag with target="_blank" and href to the image path.

    <a href="/images/<%=id%>/<%= System.IO.Path.GetFileName(file) %>" target="_blank"><img src="images/<%=id%>/<%= System.IO.Path.GetFileName(file) %>">Click here</a>

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, December 20, 2018 12:36 PM