Images not showing through previous/next entries links

Discussion in 'WordPress' started by bloglearn, Jan 9, 2008.

  1. #1
    Hi,

    i got a problem with my wordpress 2.3.1. At the bottom of my homepage of my blog, there is the previous entries links.

    When i click it through, the images are not showing up. It is no problem if i go in through other links like archives and categories.

    I do a check and found out that the images are not showing because the URL of my images is incorrect:
    http://myblog.com/page/chimage.php?image=mypic.jpg

    The image would appear if the url is like this:
    http://myblog.com/chimage.php?image=mypic.jpg

    i do not know why the extra "page" directory appear.

    This is my blog http://www.gothailandgo.com

    Please help.. thanks
     
    bloglearn, Jan 9, 2008 IP
  2. Blonde Jon

    Blonde Jon Active Member Affiliate Manager

    Messages:
    745
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    58
    #2
    If the images are hard coded into your theme and not just linked into your posts then you will need to put this code in:

    <img src="<?php bloginfo('stylesheet_directory'); ?>/images/your images.jpg" />
    Code (markup):
     
    Blonde Jon, Jan 10, 2008 IP
  3. bloglearn

    bloglearn Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks Blonde Jon,

    I have ask a programmer to look into it and it is due to the problem of me writing an improper code for my images.

    After writing down the proper coding, the images shows.

    I use a script to prevent my images from hotlinking and i got mixed up with the coding for image showing.

    It is ok now. Thanks.
     
    bloglearn, Jan 10, 2008 IP