Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Having the same problem, and it’s annoying. Yes, there are plugins that will allow you to attach files to comments, like the one recommended on page one, but that’s a needless solution: we’re not looking to attach something new, just display what already exists.

    It seems like what’s happening is WP is stripping out that bit of HTML code when you hit “post.” So you put in the “img src=whatever.jpg”, hit post, and it gets removed in a step between A and B. There has to be something we can edit into the theme file that will stop this from happening, right? It’s not a question of trying to add functionality, it’s about removing non-functionality.

    I’d hoped the new WordPress update would fix this, but no luck…

    • This reply was modified 2 years, 4 months ago by yo go re.
    Thread Starter yo go re

    (@yo-go-re)

    Huh, I’m not sure what would cause it, either. How very odd!

    Anyway, I think I’ve finally managed to solve it! In case anyone in the future is having a similar problem and is Googling around trying to find a solution, I had to make a table with each image in its own cell, make sure the <td> tags all had style=”border:none;padding:0px;” applied, and THEN use style=”display:block;” on all the images – that way, when the images acted as a block-level element, they were only doing so within the table cell, not within the entire page. Whew! A bit more complex than I expected it would be, but the important thing is that my six little thumbnails are now cozily touching each other so they look like one seamless image.

    Thanks for sticking with me and trying to help puzzle out the solution. I appreciate it…

    Thread Starter yo go re

    (@yo-go-re)

    Oh, I see what you’re saying. But no, no worries: I tried those things one at a time, and when they didn’t work, I took them back out and tried the next one. (I think assigning a style of block AND inline-block inside a table with no margins would be the equivalent of dividing by zero! Ha!)

    Thread Starter yo go re

    (@yo-go-re)

    Yep, glad you knew what I meant – my theme, not the program itself.

    And thanks for the suggestion, but no, that doesn’t fix it at all. I tried your tip (as well as margin:0px and margin:none just in case), but the gap remains…

    Thread Starter yo go re

    (@yo-go-re)

    Beautiful, beautiful, BEAUTIFUL! That was supremely easy, and fixed it first try. Thank you, alchymyth – that was precisely what I needed to make the page work properly…

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