Download Article
Link your pictures using a variety of methods
Download Article

Do you want to link to a picture in code or do you want someone to be able to click a picture to see a website? With a single line of HTML code or some settings, you can add a clickable image nearly anywhere! Since an image is often larger than text, it offers a larger clickable area (increasing the chances that someone will follow your link!). This How.com.vn article teaches you how to add a link to a picture with methods that you can use whether you're on a computer, phone, or tablet.

Things You Should Know

  • To make a picture a clickable link, use the HTML code: <a href="https://www.wikihow.com"><img src="full-path-to-image.jpg"></a>.
  • Web editors like WordPress and Wix as well as email programs and image platforms like Gmail and Canva have built-in functionality to add a link when you select your image.
  • In Word, right-click the picture and select "Link." Finally, add the URL and click "Ok."
Section 1 of 4:

Using HTML

Download Article
  1. How.com.vn English:  Enter the following code to make your image clickable.
    Select and copy the HTML code below, and then paste it into your open index.html file.
    <a href="DESTINATION URL"><img src="full-path-to-image.jpg"></a>
      In this case, the "full-path-to-image" will redirect to your "DESTIONATION URL".
      If you have access to the HTML of a page, you can use this anywhere!
  2. Advertisement
Section 2 of 4:

Adding Links to Images in Web Editors

Download Article
  1. How.com.vn English: Services like WordPress, Wix, Canva, and email programs like Gmail and Outlook have almost the same image functionality.
    There's a button when you're uploading an image to make it a link (it usually looks like an icon of a chain link).
    • If you don't immediately see that link icon, click to select your image and it should be available near the text editing tools.
Section 3 of 4:

Adding Hyperlinks to Images in Word

Download Article
  1. How.com.vn English: Step 1 Insert the image to your Word document.
    To add an image, go to Insert > Pictures.
  2. How.com.vn English: Step 2 Right-click the image and select Link.
    Further decide if you want the image to link to a website, a file on your computer, another location in the document, a new Word document, or to an email address.
    • If you share this Word document and have this picture linked to a file on your computer, the other users may not be able to see the other file unless it's shared too.
    • Since this article is about linking websites to a picture, you'll want to leave it on "Existing File or Web Page."
  3. How.com.vn English: Step 3 Enter the destination URL.
    Next to the "Address" field, enter the URL.
  4. Advertisement
Section 4 of 4:

Using Social Media & Image Hosting Sites

Download Article
  1. How.com.vn English: Most online platforms assign a link to a picture, so people can click it for a larger view.
    For example, if you upload a picture to Facebook, you can see a URL to that picture when you click it. Paste that address anywhere to link to your Facebook picture (privacy settings might prevent random people from seeing your picture).
    • This method works for uploading pictures to almost all online platforms including Flickr, Imgur, Facebook, Instagram, Google Drive, and Apple iCloud.
    • Only use this method if you want to insert a link that redirects people to your picture on these sites. It's not a method for adding a link to a picture.

Expert Q&A

Search
Add New Question
  • Question
    How do I add a link to a page in WordPress?
    How.com.vn English: Martin Aranovitch
    Martin Aranovitch
    WordPress Trainer & Educator
    Martin Aranovitch is a WordPress Trainer and Educator and a WordPress Writer for WPMU DEV. With over 18 years of digital marketing and website maintenance experience, Martin specializes in providing comprehensive instruction for people looking to use WordPress effectively. He holds a Bachelor’s degree in Science and Technology Studies from The University of New South Wales. Martin is also a digital publisher and the author of multiple WordPress guides and training manuals for people of all learning levels.
    How.com.vn English: Martin Aranovitch
    WordPress Trainer & Educator
    Expert Answer
    Create or edit a new/existing post or page. Then, select and highlight the text that you want to hyperlink. Click on the linking tool in the inline editor menu, select or type your destination URL (this can be an internal or external link), and choose whether or not to open the link in a new tab. Then, just click on the "Apply" button or hit your "Enter" key.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Darlene Antonelli, MA
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Darlene Antonelli, MA. Darlene Antonelli is a Technology Writer and Editor for How.com.vn. Darlene has experience teaching college courses, writing technology-related articles, and working hands-on in the technology field. She earned an MA in Writing from Rowan University in 2012 and wrote her thesis on online communities and the personalities curated in such communities. This article has been viewed 510,013 times.
      How helpful is this?
      Co-authors: 25
      Updated: March 20, 2024
      Views: 510,013
      Categories: HTML
      Thanks to all authors for creating a page that has been read 510,013 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement