Title: Insert link into image
Last modified: June 19, 2022

---

# Insert link into image

 *  Resolved [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/insert-link-into-image/)
 * Hi, I have created a table with two columns, column A has the product and column
   B has the image of Get the (product) on Google Play (GP). Within WP there is 
   no problem with making the GP image clickable. However I am unable to do this
   with Tablepress.
    The GP image appears as it should. If I add a link, with full
   href to the table cell with the product, then if the GP image is clicked it just
   shows the GP image. It makes no difference whether I insert the link before or
   after the GP image within the cell.
 * Please, is there some way to make the GP image clickable?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/insert-link-into-image/#post-15751997)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The best way for this should be to insert the link directly when inserting the
   image from the WordPress media library. Thus, please click “Insert Image” and
   after choosing the image, find the “Link target” field. That’s where you’ll have
   to insert the link URL.
    Alternatively, you could of course manually create the
   correct HTML code, which will have a general structure like
 *     ```
       <a href="https://example.com/your-link/"><img src="image.jpg" /></a>
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [ozviewer](https://wordpress.org/support/users/ozviewer/)
 * (@ozviewer)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/insert-link-into-image/#post-15754353)
 * Thanks Tobias. I previously added Insert Link which did not work. I tried your
   suggestion but I cannot find the “Link target” field.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/insert-link-into-image/#post-15755142)
 * Hi,
 * for me, that field appears in the right sidebar-like area after selecting an 
   image from in the media library popup (you might have to scroll down in that 
   area with the gray background). There, I have a “ATTACHMENT DISPLAY SETTINGS”
   section, where I can choose “Custom URL” in the “Link to” field (sorry, “Link
   target” above was incorrect) and then insert the URL in the next field.
 * You could of course also use the “Insert Link” button to insert the link. Then,
   you’d have to use the image HTML code (`<img src=... />`) as the “Link text” 
   in that dialog (e.g. via copy/paste), to ultimately achieve that nested structure
   as in the example above.
 * Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Insert link into image’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/insert-link-into-image/#post-15755142)
 * Status: resolved