Member Offer
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Image issue in Wordpress

Discussion in 'Website Coding & Programming Forum:' started by Alf00, Sep 17, 2010.

  1. Alf00

    Alf00 New Member

    Hello!

    I have some issues with images in sidebar. Images load properly on sites index, but on post page sidebar images doesn't load at all. What could be the problem? Must say this is my first wordpress website.

    Here is the link
    Creative Kitchen

    Thank you :icon_notworthy:
     
  2. djb

    djb Member

    I think you need to set any image links in the side bar to be absolute rather than relative.

    For example on the homepage sidebar, the ladies photo is located at:
    http://c-kitchen.com/wp-content/themes/C_Kitchen/image/babo.jpg

    Whereas if I go on to a recipe, it’s looking for the ladies photo at:
    http://c-kitchen.com/category/breakfast/wp-content/themes/C_Kitchen/image/babo.jpg

    So when you put any photos in the sidebar, just set the source of them to:
    http://c-kitchen.com/wp-content/themes/C_Kitchen/image/babo.jpg

    Rather than:
    wp-content/themes/C_Kitchen/image/babo.jpg

    This is a bit of a waffley answer... hope it makes sense - it’s been a long day!
     
  3. Alf00

    Alf00 New Member

    Thanks a lot. It worked.
    Have a good weekend!
     

Share This Page