Support » Plugins and Hacks » How to link images in TablePress?

  • Resolved omegaprime

    (@omegaprime)


    Hello all, I am using the “Table Press plug-in” in one of my pages. I have a table with images in it and I would like for visitor’s to click on the images and go to a video for each separate image. When I try to use the link feature it is placing the link to a “text link” that is being shown in the table underneath the image. What I would like for it to do is have the image itself become the link, right now when I click on the image it goes to a separate page of just the image itself, and the text link that shows actually takes me to the video that I want to be shown is there a way to correct this. Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi,

    thanks for your post. The trick to achieve what you want is this:
    When inserting the image from the Media Library, there’s a field “Link URL”, a little bit above the “Insert into Post” button. Just type/paste the URL of the page with the video there and the image will be clickable.

    Regards,
    Tobias

    Hi thanks Tobias, for replying to the post your suggestion worked perfectly, I appreciate your help. I’m not sure if I should have created a new post but, I just had one other question about my table I have 3 columns in my table with about 5 rows. The images are 182(w)x 124(h) at the end of the last column on the last image my table is cutting off each image in the column is there a way to make the table a little wider in order to have the last column from being cut off. I am new to wordpress so all this is kinda new to me thanks again for all your help.

    Hi,

    great to hear that this helped 🙂

    It’s hard to find a solution to that issue with the width, without being able to inspect the page. Can you therefore please post a link? I’ll then gladly investigate this, to see if there’s an easy way to make everything fit.

    Regards,
    Tobias

    Hi thanks again for replying here is a link to the page I’m talking about the site is still being worked on but here it is http://intvnetwork.com/intvwordpress/. Thanks again.

    Hi,

    thanks for the link. To make this fit, you’ll need to make the padding in the cells smaller. Please try adding

    #content .tablepress-id-2 tr td {
      padding: 3px;
    }

    to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress.

    Regards,
    Tobias

    Hi again, once again thank you for your time for trying to help me out with my site. But unfortunately the code you provided didn’t work for me. I copied and pasted the code just as you wrote it but nothing happen, do you have any other ideas. Thanks

    Hi,

    argh, sorry about that. I forgot one line in the code. Please try again with

    #content .tablepress-id-2 tr th,
    #content .tablepress-id-2 tr td {
      padding: 3px;
    }

    Regards,
    Tobias

    Hey Tobias, thank you so much it worked.

    Hi,

    great to hear that! 🙂 And you are very welcome!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate the plugin here in the plugin directory. Thanks!

    Sure Thing no problem!!!

    Hi,

    thanks a lot, I really appreciate it!

    Best wishes,
    Tobias

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to link images in TablePress?’ is closed to new replies.