• Resolved ozviewer

    (@ozviewer)


    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

    (@tobiasbg)

    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

    (@ozviewer)

    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

    (@tobiasbg)

    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.