Link in the image webpart to open on the same tab instead of other tab

Ashok Sah 0 Reputation points
2024-11-25T15:47:02.9433333+00:00

Hypper link in image webpart on sharepoint open the link in another page leaving the source page open, however how to create a link in the image webpart so that it mimic the behavoir of Target=_self instead of _blank

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,969 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 21,751 Reputation points Microsoft Vendor
    2024-11-26T05:46:04.99+00:00

    Hi @Ashok Sah,

    It is an expected behavior in SharePoint. This is by design and I'm afraid it is not supported to change this default behavior. As a workaround, you can right click the image and select open image in new tab to open the image in a new browser tab.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.