WordPress.org

Support

Support » Plugins and Hacks » Picture of plugin only shows on home page

Picture of plugin only shows on home page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey hey,

    Awesome, glad to hear!

    In taking a look, I can also see that the home pag shows an image above your form, but navigating to other pages, such as http://www.afslankuniversiteit.nl/afvallenenbeweging/, shows a broken image.

    In taking a look at your image link, it looks like this is an issue with the way the image is being linked. Here’s the code you have:

    <img src="wp-content/uploads/2013/05/thinpaperback-e1369332450503.jpg" alt="">

    What’s happening is that it’s utilizing a relative URL. As you navigate to subdirectories in your site, that relative URL will ultimately create dynamic image URLs. You might consider making this an absolute URL, like this:

    <img src="http://www.afslankuniversiteit.nl/wp-content/uploads/2013/05/thinpaperback-e1369332450503.jpg">

    instead. Which should allow for that image to appear okay regardless of what subdirectory the viewer is in.

    -tk

    Thanks so much! It worked and…. I have learned something new. Thanks for the clear explanation!

    Corine

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Picture of plugin only shows on home page’ is closed to new replies.