WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] image showing in preview but not in actual post?

[Resolved] image showing in preview but not in actual post?

  • I’m using a bunch of snippets like this throughout one article:

    —–
    <style type=”text/css”>#nut-image1{display: block; height: 27px;
    background: url(images/nutrition-facts.png) -16px 0 no-repeat;}</style>
    —–

    In the preview, the pictures showed fine. But after I publish it, all the pictures disappear. How can I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Use the full URL path to the image. I’m curious, why are you trying to insert images as backgrounds?

    I’m using this method because I have one big image, and I want to break the image up into little ones, and describe what each one does. I have not found a better method, but I am happy with this one because it works.

    Your way works! Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] image showing in preview but not in actual post?’ is closed to new replies.
Skip to toolbar